Bug 144821

Summary: Invalidate the FontCache on WebProcess suspension / critical memory pressure
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: PlatformAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, kling, koivisto
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2015-05-08 17:28:17 PDT
Invalidate the FontCache on WebProcess suspension / critical memory pressure to free a bit more memory (an extra 4-16Kb on the pages I tested). We already purge inactive font data on non-critical memory warning but invalidating the whole FontCache takes care of clearing the FontCascade cache and the fontPlatformData cache as well.
Attachments
Patch (1.81 KB, patch)
2015-05-08 17:30 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-05-08 17:30:48 PDT
WebKit Commit Bot
Comment 2 2015-05-09 10:38:41 PDT
Comment on attachment 252757 [details] Patch Clearing flags on attachment: 252757 Committed r184041: <http://trac.webkit.org/changeset/184041>
WebKit Commit Bot
Comment 3 2015-05-09 10:38:47 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.