Skip to main content

Module jemalloc_conf

Module jemalloc_conf 

Source
Expand description

Exports the malloc_conf weak symbol jemalloc reads at startup, so every binary declaring jemalloc as its global allocator runs with background purging and a tightened dirty decay instead of jemalloc’s stock background_thread:false,dirty_decay_ms:10000. See mkdocs/docs/admin/memory-allocator.md.

Constants§

CONF
NUL-terminated: jemalloc reads this symbol as a const char * (jemalloc/src/conf.c, jemalloc/src/jemalloc.c).