server-skynet-source-3rd-je.../src
Jason Evans 32896a902b Fix large allocation to search optimal size class heap.
Fix arena_run_alloc_large_helper() to not convert size to usize when
searching for the first best fit via arena_run_first_best_fit().  This
allows the search to consider the optimal quantized size class, so that
e.g. allocating and deallocating 40 KiB in a tight loop can reuse the
same memory.

This regression was nominally caused by
5707d6f952 (Quantize szad trees by size
class.), but it did not commonly cause problems until
8a03cf039c (Implement cache index
randomization for large allocations.).  These regressions were first
released in 4.0.0.

This resolves #487.
2016-11-03 22:36:30 -07:00
..
arena.c Fix large allocation to search optimal size class heap. 2016-11-03 22:36:30 -07:00
atomic.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
base.c Resolve bootstrapping issues when embedded in FreeBSD libc. 2016-05-10 22:51:33 -07:00
bitmap.c Reduce differences between alternative bitmap implementations. 2016-04-06 10:38:47 -07:00
chunk_dss.c Make dss operations lockless. 2016-10-13 15:33:56 -07:00
chunk_mmap.c Fix potential VM map fragmentation regression. 2016-06-07 14:21:21 -07:00
chunk.c Fix chunk_alloc_cache() to support decommitted allocation. 2016-11-03 22:36:30 -07:00
ckh.c Do not (recursively) allocate within tsd_fetch(). 2016-10-21 00:27:37 -07:00
ctl.c Do not (recursively) allocate within tsd_fetch(). 2016-10-21 00:27:37 -07:00
extent.c Allow const keys for lookup 2015-11-09 15:48:05 -08:00
hash.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
huge.c Do not (recursively) allocate within tsd_fetch(). 2016-10-21 00:27:37 -07:00
jemalloc.c Check for existance of CPU_COUNT macro before using it. 2016-11-02 19:54:19 -07:00
mb.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
mutex.c Add os_unfair_lock support. 2016-11-02 19:35:12 -07:00
nstime.c Use CLOCK_MONOTONIC_COARSE rather than COARSE_MONOTONIC_RAW. 2016-10-29 22:59:42 -07:00
pages.c Do not use syscall(2) on OS X 10.12 (deprecated). 2016-11-02 19:35:12 -07:00
prng.c Refactor prng* from cpp macros into inline functions. 2016-02-19 20:29:06 -08:00
prof.c Do not (recursively) allocate within tsd_fetch(). 2016-10-21 00:27:37 -07:00
quarantine.c Resolve bootstrapping issues when embedded in FreeBSD libc. 2016-05-10 22:51:33 -07:00
rtree.c Fix over-sized allocation of rtree leaf nodes. 2016-10-28 00:41:15 -07:00
spin.c Add/use adaptive spinning. 2016-10-13 14:58:38 -07:00
stats.c Add "J" (JSON) support to malloc_stats_print(). 2016-11-01 15:32:37 -07:00
tcache.c Do not (recursively) allocate within tsd_fetch(). 2016-10-21 00:27:37 -07:00
ticker.c Implement ticker. 2016-02-19 20:29:06 -08:00
tsd.c Use TSDN_NULL rather than NULL as appropriate. 2016-10-04 15:56:56 -07:00
util.c Do not use syscall(2) on OS X 10.12 (deprecated). 2016-11-02 19:35:12 -07:00
valgrind.c Optimize Valgrind integration. 2014-04-15 16:49:57 -07:00
witness.c Mangle tested functions as n_witness_* rather than witness_*_impl. 2016-05-11 16:14:20 -07:00
zone.c Fix/refactor zone allocator integration code. 2016-11-02 19:35:09 -07:00