Bug 142024 - [Cocoa] Prod libcache to drop caches in memory pressure relief handler.
Summary: [Cocoa] Prod libcache to drop caches in memory pressure relief handler.
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
Keywords: InRadar, Performance
Depends on:
Reported: 2015-02-25 13:42 PST by Andreas Kling
Modified: 2015-02-26 00:15 PST (History)
4 users (show)

See Also:

Patch (2.43 KB, patch)
2015-02-25 15:01 PST, Andreas Kling
koivisto: review+
Details | Formatted Diff | Diff
Patch for landing (2.55 KB, patch)
2015-02-25 22:51 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2015-02-25 13:42:56 PST
libcache will listen for OS memory notification, but needs some prodding for the tab suspension case on iOS, as well as the memory pressure simulation code path.
Comment 1 Andreas Kling 2015-02-25 15:01:42 PST
Created attachment 247350 [details]
Comment 2 Antti Koivisto 2015-02-25 15:24:12 PST
Comment on attachment 247350 [details]

r=me but this probably requires yosemite.
Comment 3 Radar WebKit Bug Importer 2015-02-25 22:24:16 PST
Comment 4 Andreas Kling 2015-02-25 22:51:35 PST
Created attachment 247409 [details]
Patch for landing
Comment 5 WebKit Commit Bot 2015-02-26 00:15:23 PST
Comment on attachment 247409 [details]
Patch for landing

Clearing flags on attachment: 247409

Committed r180666: <http://trac.webkit.org/changeset/180666>
Comment 6 WebKit Commit Bot 2015-02-26 00:15:28 PST
All reviewed patches have been landed.  Closing bug.