[Webkit-unassigned] [Bug 89111] Heap::shouldCollect() should return true when system memory is low

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 14 13:14:41 PDT 2012


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





--- Comment #3 from Geoffrey Garen <ggaren at apple.com>  2012-06-14 13:14:41 PST ---
Is there a performance test that demonstrates an advantage to this change?

Just knowing that a system is low on physical memory is not sufficient cause to garbage collect. At the limit, you would garbage collect after every byte allocated, which is O(n^2). I don't think that's a good idea.

Perhaps we could incorporate system load when calculating m_bytesAllocatedLimit. I could make a clearer suggestion if I knew more about the problem you were trying to solve.

-- 
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