mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-15 07:01:42 +03:00
This mallctl accepts an arena_config_t structure which can be used to customize the behavior of the arena. Right now it contains extent_hooks and a new option, metadata_use_hooks, which controls whether the extent hooks are also used for metadata allocation. The medata_use_hooks option has two main use cases: 1. In heterogeneous memory systems, to avoid metadata being placed on potentially slower memory. 2. Avoiding virtual memory from being leaked as a result of metadata allocation failure originating in an extent hook. |
||
|---|---|---|
| .. | ||
| cpp | ||
| aligned_alloc.c | ||
| allocated.c | ||
| extent.c | ||
| extent.sh | ||
| malloc.c | ||
| mallocx.c | ||
| mallocx.sh | ||
| MALLOCX_ARENA.c | ||
| overflow.c | ||
| posix_memalign.c | ||
| rallocx.c | ||
| sdallocx.c | ||
| slab_sizes.c | ||
| slab_sizes.sh | ||
| smallocx.c | ||
| smallocx.sh | ||
| thread_arena.c | ||
| thread_tcache_enabled.c | ||
| xallocx.c | ||
| xallocx.sh | ||