In past v8s, you could write something like
IdleNotification()
to do one pass of GC (an incremental pass in event loop or another
idle moment in your app), or,
while( IdleNotification() );
to do a full sweep & collection. IdleNotification() returns false
when there is no work to be done by the GC. LowMemoryNotification()
is a more direct way of performing the second technique. It tells the
GC to make some memory available.
> --
> --
> v8-users mailing list
>
v8-u...@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+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.