Bug 144821 - Invalidate the FontCache on WebProcess suspension / critical memory pressure
Summary: Invalidate the FontCache on WebProcess suspension / critical memory pressure
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-08 17:28 PDT by Chris Dumez
Modified: 2015-05-09 10:38 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.81 KB, patch)
2015-05-08 17:30 PDT, 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-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.
Comment 1 Chris Dumez 2015-05-08 17:30:48 PDT
Created attachment 252757 [details]
Patch
Comment 2 WebKit Commit Bot 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>
Comment 3 WebKit Commit Bot 2015-05-09 10:38:47 PDT
All reviewed patches have been landed.  Closing bug.