#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.
|
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. |