server-skynet-source-3rd-je.../include/jemalloc
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
..
internal Generalize chunk management hooks. 2015-08-03 21:49:02 -07:00
jemalloc_defs.h.in Add JEMALLOC_FORMAT_PRINTF(). 2015-07-22 15:44:47 -07:00
jemalloc_macros.h.in Add JEMALLOC_FORMAT_PRINTF(). 2015-07-22 15:44:47 -07:00
jemalloc_mangle.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_protos.h.in Move JEMALLOC_NOTHROW just after return type. 2015-07-21 08:21:13 -07:00
jemalloc_rename.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_typedefs.h.in Generalize chunk management hooks. 2015-08-03 21:49:02 -07:00
jemalloc.sh Remove extraneous ';' on closing 'extern "C"' 2015-07-16 11:37:19 +01:00