Huh!  I called IdleNotification before ContextDisposedNotification!  Now it 
really makes a difference!

Thanks a lot!

On Sunday, June 15, 2014 2:14:42 AM UTC-7, Ben Noordhuis wrote:
>
> On Sun, Jun 15, 2014 at 2:33 AM, Jane Chen <jxch...@gmail.com 
> <javascript:>> wrote: 
> > I tried using V8::ContextDisposedNotification() to trigger GC.  But it 
> > doesn't seem to do anything.  Can someone explain how it is supposed to 
> > work?  I'd like to tell v8 to garbage collect everything used in the 
> > disposed context. 
>
> Try calling V8::IdleNotification() afterwards. 
> V8::ContextDisposedNotification() is just a hint that the next round 
> should be a full GC. 
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to