server-skynet-source-3rd-je.../test/integration
Jason Evans b49a334a64 Generalize chunk management hooks.
Add the "arena.<i>.chunk_hooks" mallctl, which replaces and expands on
the "arena.<i>.chunk.{alloc,dalloc,purge}" mallctls.  The chunk hooks
allow control over chunk allocation/deallocation, decommit/commit,
purging, and splitting/merging, such that the application can rely on
jemalloc's internal chunk caching and retaining functionality, yet
implement a variety of chunk management mechanisms and policies.

Merge the chunks_[sz]ad_{mmap,dss} red-black trees into
chunks_[sz]ad_retained.  This slightly reduces how hard jemalloc tries
to honor the dss precedence setting; prior to this change the precedence
setting was also consulted when recycling chunks.

Fix chunk purging.  Don't purge chunks in arena_purge_stashed(); instead
deallocate them in arena_unstash_purged(), so that the dirty memory
linkage remains valid until after the last time it is used.

This resolves #176 and #201.
2015-08-03 21:49:02 -07:00
..
aligned_alloc.c Fix/remove flawed alignment-related overflow tests. 2014-01-28 18:09:59 -08:00
allocated.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
chunk.c Generalize chunk management hooks. 2015-08-03 21:49:02 -07:00
MALLOCX_ARENA.c Make dss non-optional, and fix an "arena.<i>.dss" mallctl bug. 2014-04-15 12:09:48 -07:00
mallocx.c Fix size class overflow handling when profiling is enabled. 2015-06-23 18:56:14 -07:00
overflow.c Fix size class overflow handling when profiling is enabled. 2015-06-23 18:56:14 -07:00
posix_memalign.c Fix/remove flawed alignment-related overflow tests. 2014-01-28 18:09:59 -08:00
rallocx.c Fix huge_ralloc_no_move() to succeed more often. 2015-07-24 18:20:48 -07:00
sdallocx.c Add support for sized deallocation. 2014-09-08 17:34:24 -07:00
thread_arena.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
thread_tcache_enabled.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
xallocx.c Implement the *allocx() API. 2013-12-12 22:35:52 -08:00