[Webkit-unassigned] [Bug 89481] [BlackBerry] GC in didAllocate() isn't safe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 5 13:52:38 PDT 2012


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





--- Comment #5 from Yong Li <yoli at rim.com>  2012-07-05 13:52:37 PST ---
(In reply to comment #4)
> (From update of attachment 150786 [details])
> Why is this necessary?

This is a follow-up of https://bugs.webkit.org/show_bug.cgi?id=89236. 

The initial idea is use small heap size when system is under memory pressure. I ended up with putting platform-specific GC policy in GCActivityCallback. However I found it isn't safe to do GC in didAllocate. The only place it makes sense and is safe to collect garbage is reportExtraMemoryCost.

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