a8118233ec
When a thread cache flushes objects to their arenas due to an abundance of cached objects, it merges the allocation request count for the associated size class, and increments a flush counter. If none of the flushed objects came from the thread's assigned arena, then the merging wouldn't happen (though the counter would typically eventually be merged), nor would the flush counter be incremented (a hard bug). Fix this via extra conditional code just after the flush loop. |
||
---|---|---|
.. | ||
arena.c | ||
base.c | ||
chunk_dss.c | ||
chunk_mmap.c | ||
chunk_swap.c | ||
chunk.c | ||
ckh.c | ||
ctl.c | ||
extent.c | ||
hash.c | ||
huge.c | ||
jemalloc.c | ||
mb.c | ||
mutex.c | ||
prof.c | ||
rtree.c | ||
stats.c | ||
tcache.c | ||
zone.c |