server-skynet-source-3rd-je.../include/jemalloc
Daniel Micay 4cfe55166e Add support for sized deallocation.
This adds a new `sdallocx` function to the external API, allowing the
size to be passed by the caller.  It avoids some extra reads in the
thread cache fast path.  In the case where stats are enabled, this
avoids the work of calculating the size from the pointer.

An assertion validates the size that's passed in, so enabling debugging
will allow users of the API to debug cases where an incorrect size is
passed in.

The performance win for a contrived microbenchmark doing an allocation
and immediately freeing it is ~10%.  It may have a different impact on a
real workload.

Closes #28
2014-09-08 17:34:24 -07:00
..
internal Add support for sized deallocation. 2014-09-08 17:34:24 -07:00
jemalloc_defs.h.in Remove the *allocm() API, which is superceded by the *allocx() API. 2014-04-14 22:32:31 -07:00
jemalloc_macros.h.in Remove the *allocm() API, which is superceded by the *allocx() API. 2014-04-14 22:32:31 -07:00
jemalloc_mangle.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_protos.h.in Add support for sized deallocation. 2014-09-08 17:34:24 -07:00
jemalloc_rename.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_typedefs.h.in Move typedefs from jemalloc_protos.h.in to jemalloc_typedefs.h.in. 2014-09-07 19:55:03 -07:00
jemalloc.sh Move typedefs from jemalloc_protos.h.in to jemalloc_typedefs.h.in. 2014-09-07 19:55:03 -07:00