Skip to main content

malloc_conf

Static malloc_conf 

Source
#[unsafe(no_mangle)]
pub static malloc_conf: &[u8]
Expand description

Provides the process-wide jemalloc startup configuration.

Jemalloc reads this unmangled symbol during allocator initialization, which can occur before main. The NUL-terminated options enable CPU-affine arenas, background purging, metadata huge pages, and tuned cache and decay thresholds.