mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-15 07:01:42 +03:00
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> |
||
|---|---|---|
| .. | ||
| analyze | ||
| include/test | ||
| integration | ||
| src | ||
| stress | ||
| unit | ||
| test.sh.in | ||