Bug 141723

Summary: Evict dead resources in MemoryCache in MemoryPressureHandler::releaseNoncriticalMemory()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Page LoadingAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, commit-queue, japhet, kling, koivisto
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

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.