Skip to main content

_static_initialization

Function _static_initialization 

Source
fn _static_initialization()
Expand description

Registers the allocation-observer callbacks during process startup.

Normal and zeroed allocations made after registration feed the same counting and tracing instrumentation. The allocator reads these slots only when jevmalloc is built with its global_hooks feature.