jemalloc/test
Raúl Marín ebdd539dc2 Address review: exercise arena-level alloc/free in the percpu resume test
Allocate and free through each arena binding while bypassing the tcache
(MALLOCX_TCACHE_NONE), so the allocations and deallocations reach the
arena rather than the thread cache. Assert via arenas.lookup that a
region allocated while bound to the manual arena comes from it, and that
after resuming per-CPU selection allocations come from a per-CPU arena.
Finally free the manual-arena region while the thread is bound to a
per-CPU arena, covering deallocation routing across the rebinding.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 17:56:40 +02:00
..
analyze De-export test-only helpers via JET_EXTERN / #ifdef JEMALLOC_JET; declare in unit tests, not headers 2026-06-11 11:45:05 -04:00
include/test De-export test-only helpers via JET_EXTERN / #ifdef JEMALLOC_JET; declare in unit tests, not headers 2026-06-11 11:45:05 -04:00
integration Accept NULL in free_sized() and free_aligned_sized() 2026-06-29 16:35:49 -04:00
src Remove safety check abort mallctl 2026-06-02 13:24:23 -04:00
stress Limit TSD bootstrap hook to tests 2026-07-06 18:26:40 -04:00
unit Address review: exercise arena-level alloc/free in the percpu resume test 2026-07-16 17:56:40 +02:00
test.sh.in Speculative fix for Windows tasks that sometime fail on aligned_alloc 2026-06-02 13:24:23 -04:00