mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Pull out arena_bin_info_t and arena_bin_t into their own file.
In the process, kill arena_bin_index, which is unused. To follow are several diffs continuing this separation.
This commit is contained in:
committed by
David Goldblatt
parent
740bdd68b1
commit
4bf4a1c4ea
@@ -6,7 +6,7 @@ TEST_BEGIN(test_arena_slab_regind) {
|
||||
for (binind = 0; binind < NBINS; binind++) {
|
||||
size_t regind;
|
||||
extent_t slab;
|
||||
const arena_bin_info_t *bin_info = &arena_bin_info[binind];
|
||||
const bin_info_t *bin_info = &bin_infos[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, true);
|
||||
|
||||
Reference in New Issue
Block a user