server-skynet-source-3rd-je.../src
Jason Evans b9408d77a6 Fix/simplify chunk_recycle() allocation size computations.
Remove outer CHUNK_CEILING(s2u(...)) from alloc_size computation, since
s2u() may overflow (and return 0), and CHUNK_CEILING() is only needed
around the alignment portion of the computation.

This fixes a regression caused by
5707d6f952 (Quantize szad trees by size
class.) and first released in 4.0.0.

This resolves #497.
2016-11-11 22:18:39 -08:00
..
arena.c Refactor prng to not use 64-bit atomics on 32-bit platforms. 2016-11-07 11:50:59 -08: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/simplify chunk_recycle() allocation size computations. 2016-11-11 22:18:39 -08:00
ckh.c Refactor prng to not use 64-bit atomics on 32-bit platforms. 2016-11-07 11:50:59 -08:00
ctl.c Do not (recursively) allocate within tsd_fetch(). 2016-10-21 00:27:37 -07:00
extent.c Fix extent_quantize() to handle greater-than-huge-size extents. 2016-11-11 22:17:27 -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 Refactor prng to not use 64-bit atomics on 32-bit platforms. 2016-11-07 11:50:59 -08: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