Bug 188573

Summary: Inline DataView accesses into DFG/FTL
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, commit-queue, dbates, ews-watchlist, fpizlo, ggaren, gskachkov, jfbastien, keith_miller, mark.lam, msaboff, realdawei, rmorisset, ryanhaddad, ticaiolima, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 188768    
Attachments:
Description Flags
WIP
none
WIP
none
WIP
none
WIP
none
WIP
none
WIP
none
WIP
none
WIP
none
WIP
none
WIP
none
WIP
none
patch none

Saam Barati
Reported 2018-08-14 12:19:25 PDT
...
Attachments
WIP (21.50 KB, patch)
2018-08-14 23:57 PDT, Saam Barati
no flags
WIP (29.47 KB, patch)
2018-08-16 11:35 PDT, Saam Barati
no flags
WIP (29.66 KB, patch)
2018-08-16 12:40 PDT, Saam Barati
no flags
WIP (31.82 KB, patch)
2018-08-16 14:43 PDT, Saam Barati
no flags
WIP (38.13 KB, patch)
2018-08-16 19:10 PDT, Saam Barati
no flags
WIP (42.59 KB, patch)
2018-08-16 20:00 PDT, Saam Barati
no flags
WIP (54.62 KB, patch)
2018-08-17 01:19 PDT, Saam Barati
no flags
WIP (57.04 KB, patch)
2018-08-17 16:53 PDT, Saam Barati
no flags
WIP (72.44 KB, patch)
2018-08-19 14:03 PDT, Saam Barati
no flags
WIP (81.12 KB, patch)
2018-08-19 18:32 PDT, Saam Barati
no flags
WIP (84.33 KB, patch)
2018-08-20 00:41 PDT, Saam Barati
no flags
patch (107.17 KB, patch)
2018-08-20 17:27 PDT, Saam Barati
no flags
Saam Barati
Comment 1 2018-08-14 12:19:50 PDT
Saam Barati
Comment 2 2018-08-14 23:57:47 PDT
Created attachment 347152 [details] WIP it begins
Saam Barati
Comment 3 2018-08-16 11:35:03 PDT
Saam Barati
Comment 4 2018-08-16 12:40:05 PDT
Saam Barati
Comment 5 2018-08-16 14:43:57 PDT
Saam Barati
Comment 6 2018-08-16 19:10:28 PDT
Saam Barati
Comment 7 2018-08-16 20:00:18 PDT
Saam Barati
Comment 8 2018-08-17 01:19:13 PDT
Saam Barati
Comment 9 2018-08-17 16:53:20 PDT
Saam Barati
Comment 10 2018-08-19 14:03:23 PDT
Saam Barati
Comment 11 2018-08-19 18:32:42 PDT
EWS Watchlist
Comment 12 2018-08-19 20:36:58 PDT
Attachment 347476 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/dfg/DFGNodeType.h:486: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 27 files If any of these errors are false positives, please file a bug against check-webkit-style.
Saam Barati
Comment 13 2018-08-20 00:41:37 PDT
Saam Barati
Comment 14 2018-08-20 17:27:34 PDT
EWS Watchlist
Comment 15 2018-08-20 18:31:57 PDT
Attachment 347579 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/dfg/DFGNodeType.h:486: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 38 files If any of these errors are false positives, please file a bug against check-webkit-style.
Michael Saboff
Comment 16 2018-08-20 18:37:36 PDT
Comment on attachment 347579 [details] patch r=me
Saam Barati
Comment 17 2018-08-20 22:37:40 PDT
Comment on attachment 347579 [details] patch Thanks for the review.
WebKit Commit Bot
Comment 18 2018-08-20 23:05:28 PDT
Comment on attachment 347579 [details] patch Clearing flags on attachment: 347579 Committed r235106: <https://trac.webkit.org/changeset/235106>
WebKit Commit Bot
Comment 19 2018-08-20 23:05:30 PDT
All reviewed patches have been landed. Closing bug.
Dawei Fenton (:realdawei)
Comment 20 2018-08-22 09:53:28 PDT
(In reply to WebKit Commit Bot from comment #18) > Comment on attachment 347579 [details] > patch > > Clearing flags on attachment: 347579 > > Committed r235106: <https://trac.webkit.org/changeset/235106> Looks like test "microbenchmarks/data-view-accesses.js" added in this revision has been failing on 32-bit JSC ever since it was added: https://build.webkit.org/builders/Apple%20High%20Sierra%2032-bit%20JSC%20%28BuildAndTest%29/builds/2469/steps/webkit-32bit-jsc-test/logs/stdio microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: Timed out after 339.000000 sec seconds! microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 1 0x2a94bb WTFCrash microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 2 0x4c08e startTimeoutThreadIfNeeded()::$_7::operator()() const microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 3 0x4bf6a WTF::Function<void ()>::CallableWrapper<startTimeoutThreadIfNeeded()::$_7>::call() microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 4 0x2d5649 WTF::Function<void ()>::operator()() const microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 5 0x3711f1 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 6 0x377c87 WTF::wtfThreadEntryPoint(void*) microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 7 0xa77044d5 _pthread_body microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 8 0xa770437a _pthread_body microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 9 0xa7703a56 thread_start microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: test_script_12852: line 2: 24446 Segmentation fault: 11 ( "$@" ../../.vm/JavaScriptCore.framework/Resources/jsc --useFTLJIT\=false --useFunctionDotArguments\=true --validateExceptionChecks\=true --useDollarVM\=true --maxPerThreadStackUsage\=1572864 --forceCodeBlockToJettisonDueToOldAge\=true --validateGraph\=true --useMaximalFlushInsertionPhase\=true --useConcurrentJIT\=false --thresholdForJITAfterWarmUp\=100 --scribbleFreeCells\=true data-view-accesses.js ) microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: ERROR: Unexpected exit code: 139
Saam Barati
Comment 21 2018-08-22 11:37:01 PDT
(In reply to David Fenton (:realdawei) from comment #20) > (In reply to WebKit Commit Bot from comment #18) > > Comment on attachment 347579 [details] > > patch > > > > Clearing flags on attachment: 347579 > > > > Committed r235106: <https://trac.webkit.org/changeset/235106> > > > Looks like test "microbenchmarks/data-view-accesses.js" added in this > revision has been failing on 32-bit JSC ever since it was added: > > https://build.webkit.org/builders/Apple%20High%20Sierra%2032- > bit%20JSC%20%28BuildAndTest%29/builds/2469/steps/webkit-32bit-jsc-test/logs/ > stdio > > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: > Timed out after 339.000000 sec seconds! > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 1 > 0x2a94bb WTFCrash > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 2 > 0x4c08e startTimeoutThreadIfNeeded()::$_7::operator()() const > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 3 > 0x4bf6a WTF::Function<void > ()>::CallableWrapper<startTimeoutThreadIfNeeded()::$_7>::call() > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 4 > 0x2d5649 WTF::Function<void ()>::operator()() const > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 5 > 0x3711f1 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 6 > 0x377c87 WTF::wtfThreadEntryPoint(void*) > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 7 > 0xa77044d5 _pthread_body > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 8 > 0xa770437a _pthread_body > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: 9 > 0xa7703a56 thread_start > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: > test_script_12852: line 2: 24446 Segmentation fault: 11 ( "$@" > ../../.vm/JavaScriptCore.framework/Resources/jsc --useFTLJIT\=false > --useFunctionDotArguments\=true --validateExceptionChecks\=true > --useDollarVM\=true --maxPerThreadStackUsage\=1572864 > --forceCodeBlockToJettisonDueToOldAge\=true --validateGraph\=true > --useMaximalFlushInsertionPhase\=true --useConcurrentJIT\=false > --thresholdForJITAfterWarmUp\=100 --scribbleFreeCells\=true > data-view-accesses.js ) > microbenchmarks/data-view-accesses.js.dfg-maximal-flush-validate-no-cjit: > ERROR: Unexpected exit code: 139 Ok we can make it run less.
Saam Barati
Comment 22 2018-08-22 11:54:03 PDT
Made the test run for less time in: https://trac.webkit.org/changeset/235189/webkit let me know if the issue still persists.
Note You need to log in before you can comment on or make changes to this bug.