server-skynet-source-3rd-je.../test/integration
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
..
aligned_alloc.c Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
allocated.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
ALLOCM_ARENA.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
allocm.c Extract profiling code from [re]allocation functions. 2014-01-12 15:41:05 -08:00
mallocx.c Extract profiling code from [re]allocation functions. 2014-01-12 15:41:05 -08:00
mremap.c Refactor tests. 2013-12-08 20:52:21 -08:00
posix_memalign.c Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
rallocm.c Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
rallocx.c Add rallocx() test of both alignment and zeroing. 2013-12-16 13:37:21 -08: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