server-skynet-source-3rd-je.../include/jemalloc/internal
Jason Evans b2c31660be Extract profiling code from [re]allocation functions.
Extract profiling code from malloc(), imemalign(), calloc(), realloc(),
mallocx(), rallocx(), and xallocx().  This slightly reduces the amount
of code compiled into the fast paths, but the primary benefit is the
combinatorial complexity reduction.

Simplify iralloc[t]() by creating a separate ixalloc() that handles the
no-move cases.

Further simplify [mrxn]allocx() (and by implication [mrn]allocm()) to
make request size overflows due to size class and/or alignment
constraints trigger undefined behavior (detected by debug-only
assertions).

Report ENOMEM rather than EINVAL if an OOM occurs during heap profiling
backtrace creation in imemalign().  This bug impacted posix_memalign()
and aligned_alloc().
2014-01-12 15:41:05 -08:00
..
arena.h Extract profiling code from [re]allocation functions. 2014-01-12 15:41:05 -08:00
atomic.h Add support for MSVC 2012-05-01 11:32:11 -07:00
base.h Fix fork-related bugs. 2012-03-13 16:31:41 -07:00
bitmap.h Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
chunk_dss.h Refactor tests. 2013-12-08 20:52:21 -08:00
chunk_mmap.h Fix mlockall()/madvise() interaction. 2012-10-08 18:04:49 -07:00
chunk.h Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
ckh.h Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
ctl.h Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
extent.h Fix mlockall()/madvise() interaction. 2012-10-08 18:04:49 -07:00
hash.h Add missing prototypes. 2013-12-17 15:30:49 -08:00
huge.h Extract profiling code from [re]allocation functions. 2014-01-12 15:41:05 -08:00
jemalloc_internal_defs.h.in Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
jemalloc_internal_macros.h Fix inline-related macro issues. 2013-12-10 14:35:34 -08:00
jemalloc_internal.h.in Extract profiling code from [re]allocation functions. 2014-01-12 15:41:05 -08:00
mb.h Simplify small size class infrastructure. 2012-02-28 16:50:47 -08:00
mutex.h Add support for Mingw 2012-04-21 21:27:46 -07:00
private_namespace.sh Refactor to support more varied testing. 2013-12-03 22:06:59 -08:00
private_symbols.txt Extract profiling code from [re]allocation functions. 2014-01-12 15:41:05 -08:00
private_unnamespace.sh Refactor to support more varied testing. 2013-12-03 22:06:59 -08:00
prng.h Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
prof.h Optimize arena_prof_ctx_set(). 2013-12-15 21:57:02 -08:00
public_namespace.sh Refactor to support more varied testing. 2013-12-03 22:06:59 -08:00
public_symbols.txt Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
public_unnamespace.sh Refactor to support more varied testing. 2013-12-03 22:06:59 -08:00
ql.h Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
qr.h Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
quarantine.h Fix potential TLS-related memory corruption. 2013-01-31 14:23:48 -08:00
rb.h Clean up rb documentation. 2011-11-01 20:48:31 -07:00
rtree.h Convert rtree from (void *) to (uint8_t) storage. 2014-01-02 17:36:38 -08:00
size_classes.sh Use echo instead of cat in loops in size_classes.sh 2012-04-16 22:45:09 -07:00
stats.h Implement malloc_vsnprintf(). 2012-03-07 16:19:19 -08:00
tcache.h Don't junk-fill reallocations unless usize changes. 2013-12-15 21:57:09 -08:00
tsd.h Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
util.h Add util unit tests, and fix discovered bugs. 2014-01-06 20:41:09 -08:00