Patch forthcoming.
Created attachment 332035 [details] the patch
<rdar://problem/36304751>
<rdar://problem/36781062>
Comment on attachment 332035 [details] the patch r=me
Comment on attachment 332035 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=332035&action=review > Source/JavaScriptCore/ChangeLog:10 > + For a microbenchmark that just calls a native function (supplied via a Objective-C block) in a /a Objective-C/an Objective-C/. > Source/JavaScriptCore/ChangeLog:11 > + tight loop from JS is a 0% regression on x86 and a 11% regression on ARM64. I suggest /JS is a 0%/JS, performance shows a 0%/.
Landed in https://trac.webkit.org/changeset/227424/webkit
Comment on attachment 332035 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=332035&action=review > Source/WTF/wtf/Atomics.h:285 > +#if !OS(WINDOWS) Should we have someone who works on Windows implement this for them?
Comment on attachment 332035 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=332035&action=review > Source/JavaScriptCore/runtime/JSLock.cpp:126 > + WTF::speculationFence(); Do we not want this for entry/exit in and out of other native code. E.g, WebCore bindings?