[Webkit-unassigned] [Bug 85063] Add low memory check in ExecutableAllocator::underMemoryPressure()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 3 12:35:44 PDT 2012


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





--- Comment #21 from Lyon Chen <liachen at rim.com>  2012-05-03 12:35:44 PST ---
(In reply to comment #20)
> WebCore already has some support for memory pressure. Adding this transversal isSystemMemoryLow() returning just a bool is rather weird.

Thanks for taking the time to review the patch and answer my question.

Sorry I am not familiar with the low memory handling in WebCore, can they also cause an immediate JavaScriptCore garbage collection?

As for us the problem is when the browser is too busy, the garbage collection might not get a chance to execute. And it seems to us checking low memory in ExecutableAllocator::underMemoryPressure() is a nice place to do that check and force a garbage collection.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list