libraries/v8/runtime.cc
// Performs a GC.
// Presently, it only does a full GC.
Performs a GC.
Presently, it only does a full GC.
Performs a GC . Presently it only does a full GC .
RUNTIME_FUNCTION(MaybeObject*, Runtime_CollectGarbage) {
  SealHandleScope shs(isolate);
  isolate->heap()->CollectAllGarbage(Heap::kNoGCFlags, "%CollectGarbage");
  return isolate->heap()->undefined_value();
}
RUNTIME_FUNCTION ( MaybeObject * , Runtime_CollectGarbage ) { SealHandleScope shs ( isolate ) ; isolate -> heap ( ) -> CollectAllGarbage ( Heap :: kNoGCFlags , " " ) ; return isolate -> heap ( ) -> undefined_value ( ) ; }
Performs a GC.
Performs a GC .