![]() |
v8 14.1.146 (node 25.0.0)
V8 is Google's open source JavaScript engine
|
#include <heap-state.h>
Static Public Member Functions | |
| static bool | IsMarking (const HeapHandle &heap_handle) |
| static bool | IsSweeping (const HeapHandle &heap_handle) |
| static bool | IsSweepingOnOwningThread (const HeapHandle &heap_handle) |
| static bool | IsInAtomicPause (const HeapHandle &heap_handle) |
| static bool | PreviousGCWasConservative (const HeapHandle &heap_handle) |
Helpers to peek into heap-internal state.
Definition at line 19 of file heap-state.h.
|
static |
Returns whether the garbage collector is in the atomic pause, i.e., the mutator is stopped from running. This API is experimental and is expected to be removed in future.
| heap_handle | The corresponding heap. |
|
static |
Returns whether the garbage collector is marking. This API is experimental and is expected to be removed in future.
| heap_handle | The corresponding heap. |
|
static |
|
static |
|
static |
Returns whether the last garbage collection was finalized conservatively (i.e., with a non-empty stack). This API is experimental and is expected to be removed in future.
| heap_handle | The corresponding heap. |