On Wed, Dec 15, 2010 at 8:46 AM, Anton Muhin <[email protected]> wrote: > there is GCExtension in v8 which exposes global gc() function (which > trigger garbage collection). > > To enable it you should just pass --expose-gc flag. > > See src/bootstrapper.cc, Genesis::InstallExtensions and > src/extensions/gc-extension.{h,cc} for more details.
Hi Anton, Thanks! That is exactly what I'm looking for. For the record, the flag is --expose_gc. Cheers, Ross -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
