Bug 129908

Summary: [Mac] Notify system malloc of fake memory pressure.
Product: WebKit Reporter: Andreas Kling <kling>
Component: WebCore Misc.Assignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, kling
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Andreas Kling 2014-03-07 13:35:56 PST
After fixing the leak in r165252, I was surprised to find that it didn't
show up on memory test bots. It turns out that while the memory is now
getting freed, the system malloc implementation doesn't actually release
pages back to the OS until there is memory pressure.

Since we are just faking the memory pressure on bots, we have to let
system malloc in on the fun, so we can get representative numbers.
With this change, we should finally see the effect of not leaking the
URLRequest object tree.
Comment 1 Andreas Kling 2014-03-07 13:40:13 PST
Created attachment 226160 [details]
Patch
Comment 2 Andreas Kling 2014-03-07 14:10:14 PST
Comment on attachment 226160 [details]
Patch

Clearing flags on attachment: 226160

Committed r165292: <http://trac.webkit.org/changeset/165292>
Comment 3 Andreas Kling 2014-03-07 14:10:19 PST
All reviewed patches have been landed.  Closing bug.