RESOLVED FIXED 155479
Remove the Baker barrier from JSC
https://bugs.webkit.org/show_bug.cgi?id=155479
Summary Remove the Baker barrier from JSC
Filip Pizlo
Reported 2016-03-14 17:34:17 PDT
Patch forthcoming.
Attachments
work in progress (108.70 KB, patch)
2016-03-14 17:34 PDT, Filip Pizlo
no flags
the patch (124.28 KB, patch)
2016-03-14 22:40 PDT, Filip Pizlo
no flags
the patch (123.84 KB, patch)
2016-03-14 22:48 PDT, Filip Pizlo
saam: review+
Filip Pizlo
Comment 1 2016-03-14 17:34:58 PDT
Created attachment 274059 [details] work in progress
Filip Pizlo
Comment 2 2016-03-14 22:40:25 PDT
Created attachment 274076 [details] the patch
WebKit Commit Bot
Comment 3 2016-03-14 22:41:35 PDT
Attachment 274076 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/JSObject.h:872: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 1 in 22 files If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 4 2016-03-14 22:48:31 PDT
Created attachment 274077 [details] the patch
WebKit Commit Bot
Comment 5 2016-03-14 22:50:23 PDT
Attachment 274077 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/JSObject.h:872: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 1 in 22 files If any of these errors are false positives, please file a bug against check-webkit-style.
Saam Barati
Comment 6 2016-03-15 01:06:14 PDT
Comment on attachment 274077 [details] the patch r=me
Filip Pizlo
Comment 7 2016-03-15 08:26:52 PDT
Ryan Haddad
Comment 8 2016-03-15 17:44:30 PDT
This change may have introduced a new JSC test failure <https://build.webkit.org/builders/Apple%20El%20Capitan%20Debug%20JSC%20%28Tests%29/builds/2125> stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: Timed out after 339.000000 seconds! stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 1 0x10afd8a40 WTFCrash stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 2 0x109ede0aa timeoutThreadMain(void*) stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 3 0x10b043c39 WTF::createThread(void (*)(void*), void*, char const*)::$_0::operator()() const stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 4 0x10b043c0d void std::__1::__invoke_void_return_wrapper<void>::__call<WTF::createThread(void (*)(void*), void*, char const*)::$_0&>(WTF::createThread(void (*)(void*), void*, char const*)::$_0&&&) stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 5 0x10b043bac std::__1::__function::__func<WTF::createThread(void (*)(void*), void*, char const*)::$_0, std::__1::allocator<WTF::createThread(void (*)(void*), void*, char const*)::$_0>, void ()>::operator()() stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 6 0x10a8e1eda std::__1::function<void ()>::operator()() const stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 7 0x10b04290e WTF::threadEntryPoint(void*) stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 8 0x10b0441a1 WTF::wtfThreadEntryPoint(void*) stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 9 0x7fff9aefac13 _pthread_body stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 10 0x7fff9aefab90 _pthread_body stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 11 0x7fff9aef8375 thread_start stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: test_script_15145: line 2: 39785 Segmentation fault: 11 ( "$@" ../../.vm/JavaScriptCore.framework/Resources/jsc --useFTLJIT\=false --useFunctionDotArguments\=true --jitMemoryReservationSize\=50000 --useFTLJIT\=true --useConcurrentJIT\=false --thresholdForJITAfterWarmUp\=100 materialize-past-butterfly-allocation.js ) stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: ERROR: Unexpected exit code: 139 FAIL: stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool
Filip Pizlo
Comment 9 2016-03-15 17:48:47 PDT
(In reply to comment #8) > This change may have introduced a new JSC test failure > <https://build.webkit.org/builders/ > Apple%20El%20Capitan%20Debug%20JSC%20%28Tests%29/builds/2125> > > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: > Timed out after 339.000000 seconds! > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 1 > 0x10afd8a40 WTFCrash > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 2 > 0x109ede0aa timeoutThreadMain(void*) > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 3 > 0x10b043c39 WTF::createThread(void (*)(void*), void*, char > const*)::$_0::operator()() const > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 4 > 0x10b043c0d void > std::__1::__invoke_void_return_wrapper<void>::__call<WTF::createThread(void > (*)(void*), void*, char const*)::$_0&>(WTF::createThread(void (*)(void*), > void*, char const*)::$_0&&&) > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 5 > 0x10b043bac std::__1::__function::__func<WTF::createThread(void (*)(void*), > void*, char const*)::$_0, std::__1::allocator<WTF::createThread(void > (*)(void*), void*, char const*)::$_0>, void ()>::operator()() > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 6 > 0x10a8e1eda std::__1::function<void ()>::operator()() const > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 7 > 0x10b04290e WTF::threadEntryPoint(void*) > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 8 > 0x10b0441a1 WTF::wtfThreadEntryPoint(void*) > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 9 > 0x7fff9aefac13 _pthread_body > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 10 > 0x7fff9aefab90 _pthread_body > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: 11 > 0x7fff9aef8375 thread_start > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: > test_script_15145: line 2: 39785 Segmentation fault: 11 ( "$@" > ../../.vm/JavaScriptCore.framework/Resources/jsc --useFTLJIT\=false > --useFunctionDotArguments\=true --jitMemoryReservationSize\=50000 > --useFTLJIT\=true --useConcurrentJIT\=false > --thresholdForJITAfterWarmUp\=100 materialize-past-butterfly-allocation.js ) > stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool: > ERROR: Unexpected exit code: 139 > FAIL: stress/materialize-past-butterfly-allocation.js.ftl-no-cjit-small-pool Extremely unlikely. This pitch just kills dead code.
Ryan Haddad
Comment 10 2016-03-15 18:23:57 PDT
(In reply to comment #9) > Extremely unlikely. This pitch just kills dead code. In that case, apologies for the false alarm. This was the only JSC change in the failing run on Yosemite and El Capitan. I filed https://bugs.webkit.org/show_bug.cgi?id=155526 to track the failure.
Filip Pizlo
Comment 11 2016-03-15 18:32:40 PDT
(In reply to comment #10) > (In reply to comment #9) > > Extremely unlikely. This pitch just kills dead code. > > In that case, apologies for the false alarm. This was the only JSC change in > the failing run on Yosemite and El Capitan. > > I filed https://bugs.webkit.org/show_bug.cgi?id=155526 to track the failure. Looks like it's actually likely that this change did it, given that it's been failing consistently (according to https://bugs.webkit.org/show_bug.cgi?id=155526#c1). I think that since this times out in debug but not release, the most likely reason for the failure is that this is just a super inefficient test. That means that even if it wasn't timing out, it would be taking up a disproportionate amount of time. It's best to remove the test.
Note You need to log in before you can comment on or make changes to this bug.