StaticcollectRuns one full garbage collection of this isolate, synchronously.
Never throws: a gc that cannot be obtained, or that throws, is an
answer with ok: false and the reason, and the figures it could not
read null.
the logger
the heap before and after, the bytes freed and the pause
StaticgcAnswers V8's gc for this isolate, obtaining it the first time without
a startup flag: --expose-gc set while one context is made, then
cleared. A process started with the flag has it already.
the logger
the function
Runs a full garbage collection of the calling V8 isolate and reports its heap before and after: the on-demand control of Monitoring → Node Health.
A static utility class; its one piece of state is the cached
gc.