jemalloc/include
Xin Yang 366bfc781b Derive arena constants from MALLOCX_ARENA_BITS
Replaces the hardcoded values for `MALLCTL_ARENAS_ALL` and
`MALLCTL_ARENAS_DESTROYED` with expressions derived from
`MALLOCX_ARENA_BITS`.

This prevents a potential crash (e.g., in stats printing) that would
occur if `MALLOCX_ARENA_BITS` were changed while these macro values
remained hardcoded.

Signed-off-by: Xin Yang <yangxin.dev@bytedance.com>
2025-05-23 16:03:29 +08:00
..
jemalloc Derive arena constants from MALLOCX_ARENA_BITS 2025-05-23 16:03:29 +08:00
msvc_compat Remove trailing whitespace 2023-06-23 11:58:18 -07:00