e2deab7a75
Refactor huge allocation to be managed by arenas (though the global red-black tree of huge allocations remains for lookup during deallocation). This is the logical conclusion of recent changes that 1) made per arena dss precedence apply to huge allocation, and 2) made it possible to replace the per arena chunk allocation/deallocation functions. Remove the top level huge stats, and replace them with per arena huge stats. Normalize function names and types to *dalloc* (some were *dealloc*). Remove the --enable-mremap option. As jemalloc currently operates, this is a performace regression for some applications, but planned work to logarithmically space huge size classes should provide similar amortized performance. The motivation for this change was that mremap-based huge reallocation forced leaky abstractions that prevented refactoring. |
||
---|---|---|
.. | ||
arena.c | ||
atomic.c | ||
base.c | ||
bitmap.c | ||
chunk_dss.c | ||
chunk_mmap.c | ||
chunk.c | ||
ckh.c | ||
ctl.c | ||
extent.c | ||
hash.c | ||
huge.c | ||
jemalloc.c | ||
mb.c | ||
mutex.c | ||
prof.c | ||
quarantine.c | ||
rtree.c | ||
stats.c | ||
tcache.c | ||
tsd.c | ||
util.c | ||
valgrind.c | ||
zone.c |