mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-03 00:50:42 +03:00
Add a "dumpable" bit to the extent state.
Currently, this is unused (i.e. all extents are always marked dumpable). In the future, we'll begin using this functionality.
This commit is contained in:
parent
bbaa72422b
commit
d14bbf8d81
6 changed files with 65 additions and 21 deletions
|
|
@ -9,7 +9,7 @@ TEST_BEGIN(test_arena_slab_regind) {
|
|||
const arena_bin_info_t *bin_info = &arena_bin_info[binind];
|
||||
extent_init(&slab, NULL, mallocx(bin_info->slab_size,
|
||||
MALLOCX_LG_ALIGN(LG_PAGE)), bin_info->slab_size, true,
|
||||
binind, 0, extent_state_active, false, true);
|
||||
binind, 0, extent_state_active, false, true, true);
|
||||
assert_ptr_not_null(extent_addr_get(&slab),
|
||||
"Unexpected malloc() failure");
|
||||
for (regind = 0; regind < bin_info->nregs; regind++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue