server-skynet-source-3rd-je.../include/jemalloc
Dave Watson 4a0dbb5ac8 Use pairing heap for arena->runs_avail
Use pairing heap instead of red black tree in arena runs_avail.  The
extra links are unioned with the bitmap_t, so this change doesn't use
any extra memory.

Canaries show this change to be a 1% cpu win, and 2% latency win.  In
particular, large free()s, and small bin frees are now O(1) (barring
coalescing).

I also tested changing bin->runs to be a pairing heap, but saw a much
smaller win, and it would mean increasing the size of arena_run_s by two
pointers, so I left that as an rb-tree for now.
2016-03-08 13:48:27 -08:00
..
internal Use pairing heap for arena->runs_avail 2016-03-08 13:48:27 -08:00
jemalloc_defs.h.in Detect LG_SIZEOF_PTR depending on MSVC platform target 2016-02-20 10:50:24 -08:00
jemalloc_macros.h.in Make *allocx() size class overflow behavior defined. 2016-02-25 15:29:49 -08:00
jemalloc_mangle.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_protos.h.in Add JEMALLOC_CXX_THROW to the memalign() function prototype. 2015-08-26 13:47:20 -07:00
jemalloc_rename.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_typedefs.h.in Implement chunk hook support for page run commit/decommit. 2015-08-07 00:50:58 -07:00
jemalloc.sh Remove extraneous ';' on closing 'extern "C"' 2015-07-16 11:37:19 +01:00