Bug 142024

Summary: [Cocoa] Prod libcache to drop caches in memory pressure relief handler.
Product: WebKit Reporter: Andreas Kling <kling>
Component: PlatformAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, kling, koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar, Performance
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
koivisto: review+
Patch for landing none

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]
Patch
Comment 2 Antti Koivisto 2015-02-25 15:24:12 PST
Comment on attachment 247350 [details]
Patch

r=me but this probably requires yosemite.
Comment 3 Radar WebKit Bug Importer 2015-02-25 22:24:16 PST
<rdar://problem/19966096>
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.