Bug 197531

Summary: Don't OSR enter into an FTL CodeBlock that has been jettisoned
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, commit-queue, ews-watchlist, fpizlo, ggaren, gskachkov, guijemont, keith_miller, mark.lam, msaboff, rmorisset, ticaiolima, tzagallo, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch
ysuzuki: review+, ews-watchlist: commit-queue-
Archive of layout-test-results from ews215 for win-future
none
patch
ews-watchlist: commit-queue-
Archive of layout-test-results from ews211 for win-future
none
patch
none
patch for landing
none
Archive of layout-test-results from ews210 for win-future none

Saam Barati
Reported 2019-05-02 14:46:17 PDT
...
Attachments
patch (5.51 KB, patch)
2019-05-02 14:51 PDT, Saam Barati
ysuzuki: review+
ews-watchlist: commit-queue-
Archive of layout-test-results from ews215 for win-future (13.63 MB, application/zip)
2019-05-02 16:35 PDT, EWS Watchlist
no flags
patch (9.72 KB, patch)
2019-05-02 18:12 PDT, Saam Barati
ews-watchlist: commit-queue-
Archive of layout-test-results from ews211 for win-future (13.90 MB, application/zip)
2019-05-03 00:21 PDT, EWS Watchlist
no flags
patch (5.51 KB, patch)
2019-05-06 15:14 PDT, Saam Barati
no flags
patch for landing (6.79 KB, patch)
2019-05-06 15:20 PDT, Saam Barati
no flags
Archive of layout-test-results from ews210 for win-future (13.62 MB, application/zip)
2019-05-07 04:37 PDT, EWS Watchlist
no flags
Saam Barati
Comment 1 2019-05-02 14:46:53 PDT
Saam Barati
Comment 2 2019-05-02 14:51:00 PDT
EWS Watchlist
Comment 3 2019-05-02 16:35:52 PDT
Comment on attachment 368824 [details] patch Attachment 368824 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/12067388 New failing tests: legacy-animation-engine/fast/layers/no-clipping-overflow-hidden-hardware-acceleration.html
EWS Watchlist
Comment 4 2019-05-02 16:35:53 PDT
Created attachment 368843 [details] Archive of layout-test-results from ews215 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews215 Port: win-future Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
Yusuke Suzuki
Comment 5 2019-05-02 16:42:22 PDT
Comment on attachment 368824 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=368824&action=review r=me > Source/JavaScriptCore/ftl/FTLOSREntry.cpp:52 > + if (!entryCode->dfgCommon()->isStillValid) { I really want to clear the OSR entry block in the parent DFGCode when the OSR entry block is invalidated... Can we do that thing?
Saam Barati
Comment 6 2019-05-02 17:13:57 PDT
(In reply to Yusuke Suzuki from comment #5) > Comment on attachment 368824 [details] > patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=368824&action=review > > r=me > > > Source/JavaScriptCore/ftl/FTLOSREntry.cpp:52 > > + if (!entryCode->dfgCommon()->isStillValid) { > > I really want to clear the OSR entry block in the parent DFGCode when the > OSR entry block is invalidated... > Can we do that thing? Yeah I wanted to do that to. It seemed slightly awkward to do object model wise but let me look into it.
Saam Barati
Comment 7 2019-05-02 18:12:47 PDT
EWS Watchlist
Comment 8 2019-05-03 00:21:06 PDT
Comment on attachment 368858 [details] patch Attachment 368858 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/12079225 New failing tests: svg/dynamic-updates/SVGLinearGradientElement-svgdom-href-prop.html svg/repaint/remove-border-property-on-root.html
EWS Watchlist
Comment 9 2019-05-03 00:21:08 PDT
Created attachment 368908 [details] Archive of layout-test-results from ews211 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews211 Port: win-future Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
Saam Barati
Comment 10 2019-05-06 15:12:42 PDT
Yusuke and I spoke offline. We're going to go with the simpler, earlier version of this patch.
Saam Barati
Comment 11 2019-05-06 15:14:18 PDT
Saam Barati
Comment 12 2019-05-06 15:20:27 PDT
Created attachment 369176 [details] patch for landing
EWS Watchlist
Comment 13 2019-05-07 04:37:36 PDT
Comment on attachment 369176 [details] patch for landing Attachment 369176 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/12122413 New failing tests: http/tests/css/filters-on-iframes.html
EWS Watchlist
Comment 14 2019-05-07 04:37:38 PDT
Created attachment 369275 [details] Archive of layout-test-results from ews210 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews210 Port: win-future Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
WebKit Commit Bot
Comment 15 2019-05-07 10:41:49 PDT
Comment on attachment 369176 [details] patch for landing Clearing flags on attachment: 369176 Committed r245017: <https://trac.webkit.org/changeset/245017>
WebKit Commit Bot
Comment 16 2019-05-07 10:41:51 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.