Bug 143575 - [WK2] Regression(r182194): The NetworkProcess is calling the wrong memory pressure handler before suspending
Summary: [WK2] Regression(r182194): The NetworkProcess is calling the wrong memory pre...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-04-09 13:40 PDT by Chris Dumez
Modified: 2015-04-09 15:20 PDT (History)
3 users (show)

See Also:


Attachments
Patch (3.32 KB, patch)
2015-04-09 13:46 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-04-09 13:40:49 PDT
After r182194, the NetworkProcess is calling the memory pressure handler before getting suspended to free-up as much memory as possible at this point.
However, we are calling the default memory pressure handling code instead of the custom handler registered by the NetworkProcess.

Radar: <rdar://problem/20484338>
Comment 1 Chris Dumez 2015-04-09 13:46:06 PDT
Created attachment 250463 [details]
Patch
Comment 2 WebKit Commit Bot 2015-04-09 15:20:30 PDT
Comment on attachment 250463 [details]
Patch

Clearing flags on attachment: 250463

Committed r182608: <http://trac.webkit.org/changeset/182608>
Comment 3 WebKit Commit Bot 2015-04-09 15:20:35 PDT
All reviewed patches have been landed.  Closing bug.