Thanks, I should say try 3 calls, and the reason is exact what I expected. I
think it is a right policy.

On Oct 30, 2008 1:19 PM, "Kasper Lund" <[EMAIL PROTECTED]> wrote:

Feng,

We only do two GCs but three runtime call attempts. The first GC is
space specific, so if we failed an allocation in new space, we'll GC
that space. The second one - should that be necessary - will do a full
GC and retry one last time with allocation guaranteed to succeed if
there's enough memory. So only two GCs - not three.

Cheers,
Kasper

On Thu, Oct 30, 2008 at 7:12 PM, Feng Qian <[EMAIL PROTECTED]> wrote: >

> Kasper, can you explain why need 3 GC's? I probably missed some > changes
in GC and policy. > > On...

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to