mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-14 19:43:38 +03:00
Edata: Add a ranged bit.
We steal the dumpable bit, which we ended up not needing.
This commit is contained in:
parent
bd4fdf295e
commit
12eb888e54
6 changed files with 38 additions and 47 deletions
|
|
@ -12,7 +12,7 @@ TEST_BEGIN(test_arena_slab_regind) {
|
|||
edata_init(&slab, INVALID_ARENA_IND,
|
||||
mallocx(bin_info->slab_size, MALLOCX_LG_ALIGN(LG_PAGE)),
|
||||
bin_info->slab_size, true,
|
||||
binind, 0, extent_state_active, false, true, true,
|
||||
binind, 0, extent_state_active, false, true, false,
|
||||
EXTENT_NOT_HEAD);
|
||||
expect_ptr_not_null(edata_addr_get(&slab),
|
||||
"Unexpected malloc() failure");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue