Skip to main content

record_engine_gc

Function record_engine_gc 

Source
pub fn record_engine_gc(
    _collections: i64,
    _pause_millis: i64,
    heap_used: u64,
    heap_max: u64,
)
Expand description

Isolate-wide GC and heap, polled from the engine rather than parsed from a log the graal fleet does not write. Cumulative, so rate(engine_gc_pause_millis_total) / 1000 is the fraction of wall clock stopped, which is the figure that identified #684. Every room on the node shares one isolate, so a collection here stops all of them at once. The collection counters carry a collector label and are emitted by record_engine_gc_collector; emitting an unlabelled copy of the same name here would double every sum.