mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
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> |
||
|---|---|---|
| .. | ||
| jemalloc | ||
| msvc_compat | ||