server-skynet-source-3rd-je.../include/jemalloc/internal
Jason Evans cbf3a6d703 Move centralized chunk management into arenas.
Migrate all centralized data structures related to huge allocations and
recyclable chunks into arena_t, so that each arena can manage huge
allocations and recyclable virtual memory completely independently of
other arenas.

Add chunk node caching to arenas, in order to avoid contention on the
base allocator.

Use chunks_rtree to look up huge allocations rather than a red-black
tree.  Maintain a per arena unsorted list of huge allocations (which
will be needed to enumerate huge allocations during arena reset).

Remove the --enable-ivsalloc option, make ivsalloc() always available,
and use it for size queries if --enable-debug is enabled.  The only
practical implications to this removal are that 1) ivsalloc() is now
always available during live debugging (and the underlying radix tree is
available during core-based debugging), and 2) size query validation can
no longer be enabled independent of --enable-debug.

Remove the stats.chunks.{current,total,high} mallctls, and replace their
underlying statistics with simpler atomically updated counters used
exclusively for gdump triggering.  These statistics are no longer very
useful because each arena manages chunks independently, and per arena
statistics provide similar information.

Simplify chunk synchronization code, now that base chunk allocation
cannot cause recursive lock acquisition.
2015-02-12 00:15:56 -08:00
..
arena.h Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
atomic.h Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
base.h Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
bitmap.h Convert to uniform style: cond == false --> !cond 2014-10-03 10:16:09 -07:00
chunk_dss.h Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
chunk_mmap.h Refactor huge allocation to be managed by arenas. 2014-05-15 22:36:41 -07:00
chunk.h Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
ckh.h Convert all tsd variables to reside in a single tsd structure. 2014-09-23 02:36:08 -07:00
ctl.h Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
extent.h Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
hash.h Style and spelling fixes. 2014-12-08 16:34:04 -08:00
huge.h Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
jemalloc_internal_decls.h Add a isblank definition for MSVC < 2013 2015-01-09 14:33:46 -08:00
jemalloc_internal_defs.h.in Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
jemalloc_internal_macros.h Use KQU() rather than QU() where applicable. 2014-05-28 21:17:42 -07:00
jemalloc_internal.h.in Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
mb.h Simplify small size class infrastructure. 2012-02-28 16:50:47 -08:00
mutex.h correctly detect adaptive mutexes in pthreads 2014-09-29 16:10:40 -07:00
private_namespace.sh Refactor to support more varied testing. 2013-12-03 22:06:59 -08:00
private_symbols.txt Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
private_unnamespace.sh Refactor to support more varied testing. 2013-12-03 22:06:59 -08:00
prng.h Whitespace cleanups. 2014-09-04 22:27:26 -07:00
prof.h Implement the prof.gdump mallctl. 2015-01-25 21:21:35 -08:00
public_namespace.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
public_unnamespace.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
ql.h Style and spelling fixes. 2014-12-08 16:34:04 -08:00
qr.h Style and spelling fixes. 2014-12-08 16:34:04 -08:00
quarantine.h Make quarantine_init() static. 2014-11-07 14:50:38 -08:00
rb.h Style and spelling fixes. 2014-12-08 16:34:04 -08:00
rtree.h Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
size_classes.sh Add --with-lg-tiny-min, generalize --with-lg-quantum. 2014-10-10 22:35:07 -07:00
stats.h Move centralized chunk management into arenas. 2015-02-12 00:15:56 -08:00
tcache.h Implement explicit tcache support. 2015-02-09 17:44:48 -08:00
tsd.h Refactor bootstrapping to delay tsd initialization. 2015-01-22 14:04:27 -08:00
util.h Add (x != 0) assertion to lg_floor(x). 2015-02-04 16:51:53 -08:00
valgrind.h mark some conditions as unlikely 2014-09-10 21:49:42 -04:00