Summary: | Don't keep dead resources in MemoryCache while under memory pressure. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||||||||||
Component: | WebCore Misc. | Assignee: | Andreas Kling <kling> | ||||||||||||
Status: | REOPENED --- | ||||||||||||||
Severity: | Normal | CC: | buildbot, cdumez, commit-queue, dbates, japhet, rniwa, ryanhaddad | ||||||||||||
Priority: | P2 | Keywords: | Performance | ||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Attachments: |
|
Description
Andreas Kling
2017-03-01 23:55:10 PST
Created attachment 303178 [details]
Patch
Comment on attachment 303178 [details] Patch Clearing flags on attachment: 303178 Committed r213274: <http://trac.webkit.org/changeset/213274> All reviewed patches have been landed. Closing bug. This change appears to have caused a flaky crash seen with memory/memory-pressure-simulation.html https://build.webkit.org/results/Apple%20Sierra%20Release%20WK1%20(Tests)/r213301%20(4134)/results.html Reverted r213274 for reason: This change caused flakiness with LayoutTest memory/memory-pressure-simulation.html Committed r213350: <http://trac.webkit.org/changeset/213350> Created attachment 304514 [details]
Patch for EWS
Okay, let's harden MemoryCache::remove() against being called with CachedResources that are not in the cache, as well as CachedResources that are cached, but not present in a session resources map.
EWS, what do you think?
Comment on attachment 304514 [details] Patch for EWS Attachment 304514 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/3331624 Number of test failures exceeded the failure limit. Created attachment 304517 [details]
Archive of layout-test-results from ews100 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews100 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Comment on attachment 304514 [details] Patch for EWS Attachment 304514 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/3331673 Number of test failures exceeded the failure limit. Created attachment 304518 [details]
Archive of layout-test-results from ews104 for mac-elcapitan-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Comment on attachment 304514 [details] Patch for EWS Attachment 304514 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/3331732 Number of test failures exceeded the failure limit. Created attachment 304521 [details]
Archive of layout-test-results from ews124 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
|