Bug 141723 - Evict dead resources in MemoryCache in MemoryPressureHandler::releaseNoncriticalMemory()
Summary: Evict dead resources in MemoryCache in MemoryPressureHandler::releaseNoncriti...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-17 13:34 PST by Chris Dumez
Modified: 2015-02-18 11:32 PST (History)
5 users (show)

See Also:


Attachments
Patch (4.29 KB, patch)
2015-02-17 14:05 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (5.96 KB, patch)
2015-02-17 16:06 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (6.23 KB, patch)
2015-02-17 16:43 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2015-02-17 13:34:57 PST
We currently evict ALL resources from the memory cache in MemoryPressureHandler::releaseCriticalMemory() but we could even start with evicting dead resources in MemoryPressureHandler::releaseNoncriticalMemory().
Comment 1 Chris Dumez 2015-02-17 14:05:59 PST
Created attachment 246764 [details]
Patch
Comment 2 Chris Dumez 2015-02-17 16:06:07 PST
Created attachment 246776 [details]
Patch
Comment 3 Chris Dumez 2015-02-17 16:43:19 PST
Created attachment 246779 [details]
Patch
Comment 4 Andreas Kling 2015-02-18 10:47:59 PST
Comment on attachment 246779 [details]
Patch

r=me
Comment 5 WebKit Commit Bot 2015-02-18 11:32:11 PST
Comment on attachment 246779 [details]
Patch

Clearing flags on attachment: 246779

Committed r180276: <http://trac.webkit.org/changeset/180276>
Comment 6 WebKit Commit Bot 2015-02-18 11:32:17 PST
All reviewed patches have been landed.  Closing bug.