mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-19 00:43:16 +03:00
Reduce rtree memory usage by storing booleans (1 byte each) rather than pointers. The rtree code is only used to record whether jemalloc manages a chunk of memory, so there's no need to store pointers in the rtree. Increase rtree node size to 64 KiB in order to reduce tree depth from 13 to 3 on 64-bit systems. The conversion to more compact leaf nodes was enough by itself to make the rtree depth 1 on 32-bit systems; due to the fact that root nodes are smaller than the specified node size if possible, the node size change has no impact on 32-bit systems (assuming default chunk size). |
||
|---|---|---|
| .. | ||
| bitmap.c | ||
| ckh.c | ||
| hash.c | ||
| mallctl.c | ||
| math.c | ||
| mq.c | ||
| mtx.c | ||
| quarantine.c | ||
| rtree.c | ||
| SFMT.c | ||
| stats.c | ||
| tsd.c | ||