[Webkit-unassigned] [Bug 79614] [JSC] Memory allocation failed by fastmalloc even if heap grows successfully

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 7 18:10:53 PST 2012


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





--- Comment #7 from hojong.han at samsung.com  2012-03-07 18:10:52 PST ---
(In reply to comment #4)
> (From update of attachment 129131 [details])
> I don't think it's a good idea to duplicate this code. Instead, after calling GrowHeap(), I think it would be better to call TCMalloc_PageHeap::New recursively. This is guaranteed to terminate after one level of recursion.

I substituted the duplicated with goto sentence. 
I think so that it'd be better to call New recursively than the duplicated,
but in this case it looks simpler to use goto for recursive call only once.
Please let me know if there're more considerations.

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