Skip to main content

Module je

Module je 

Source
Expand description

jemalloc allocator

Modulesยง

this_thread
Exposes jemalloc state controls associated with the calling thread.

Constantsยง

_MALLOC_CONF_PROF ๐Ÿ”’

Staticsยง

COUNT_GLOBAL_ALLOCS ๐Ÿ”’
GLOBAL_ALLOCS ๐Ÿ”’
JEMALLOC ๐Ÿ”’
TRACE_GLOBAL_ALLOCS ๐Ÿ”’
malloc_conf
Provides the process-wide jemalloc startup configuration.

Functionsยง

_static_initialization ๐Ÿ”’
Registers the allocation-observer callbacks during process startup.
background_thread_enable
Enables or disables jemallocโ€™s background purge workers.
global_alloc_count
Returns the process allocation count observed by the allocator hook.
global_alloc_hook ๐Ÿ”’
global_alloc_zeroed_hook ๐Ÿ”’
handle_global_alloc ๐Ÿ”’
memory_stats
Collects jemallocโ€™s UTF-8 statistics report with the supplied print options.
trim
Reclaims unused pages from every initialized arena.

Type Aliasesยง

TraceLine ๐Ÿ”’
Line buffer for one allocation-trace record. A record of three integers at their maximum widths occupies 74 bytes.