jemalloc/test
LD-RW 7c6a8f2203 test/unit/bin: update bin_slab_reg_alloc call sites for new signature
All five call sites in test/unit/bin.c that called bin_slab_reg_alloc()
with the old two-argument signature are updated to pass tsdn and bin.
Three test functions (test_bin_slab_reg_alloc, test_bin_slabs_full,
test_bin_slabs_full_auto) lacked tsdn and bin_t entirely — they now
call tsdn_fetch() and bin_init() and wrap the allocation loops with
malloc_mutex_lock/unlock, matching the locking contract enforced by
the new malloc_mutex_assert_owner() in bin_slab_reg_alloc().

Verified: make check passes 17/17, 0 failures.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 21:57:53 +03:00
..
analyze Revert PR #2608: Manually revert commits 70c94d..f9c0b5 2026-03-10 18:14:33 -07:00
include/test Run single subtest from a test file 2026-03-10 18:14:33 -07:00
integration Reformat the codebase with the clang-format 18. 2026-03-10 18:14:33 -07:00
src Run single subtest from a test file 2026-03-10 18:14:33 -07:00
stress Add npurges and npurge_passes to output of pa_benchmark 2026-03-10 18:14:33 -07:00
unit test/unit/bin: update bin_slab_reg_alloc call sites for new signature 2026-04-10 21:57:53 +03:00
test.sh.in Renaming limit_usize_gap to disable_large_size_classes 2025-05-06 14:47:35 -07:00