Skip to main content

ALLOCATOR_ENV

Constant ALLOCATOR_ENV 

Source
pub const ALLOCATOR_ENV: &str = "PPROF_ALLOC_ALLOCATOR";
Expand description

Environment variable read by PprofAlloc to select the allocator backend.

Supported values are system/glibc, jemalloc, and mimalloc. The selected allocator is read once on first allocator use and remains fixed for the process. ALLOCATOR is also accepted as a compatibility fallback.