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 symbol during allocator initialization, which can occur before main. The NUL-terminated options tune the cache and decay thresholds. CPU-affine arenas, metadata huge pages and background thread settings are requested only on the platforms whose jemalloc provides them.