[Webkit-unassigned] [Bug 171289] New: Call bmalloc scavenger first when handling a memory pressure event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 25 14:04:43 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=171289

            Bug ID: 171289
           Summary: Call bmalloc scavenger first when handling a memory
                    pressure event
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: msaboff at apple.com

When we are responding to a memory pressure notification, we free up invoke the release memory handlers for various subsystems and then call the bmalloc scavenger synchronously to free pages back to the OS.  There is a very good chance that when we receieve the low memory event that we already have physical free pages that we can immediately return to the OS for use.  Therefore we should invoke the bmalloc scavenger first in the release memory handler as well as at the end as we currently do.

<rdar://problem/31820242>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170425/658b9635/attachment.html>


More information about the webkit-unassigned mailing list