mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 17:47:22 +03: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:
parent
740bdd68b1
commit
4bf4a1c4ea
16 changed files with 169 additions and 155 deletions
|
|
@ -245,7 +245,7 @@ TEST_BEGIN(test_stats_arenas_bins) {
|
|||
(void *)&arena_ind, sizeof(arena_ind)), 0,
|
||||
"Unexpected mallctl() failure");
|
||||
|
||||
p = malloc(arena_bin_info[0].reg_size);
|
||||
p = malloc(bin_infos[0].reg_size);
|
||||
assert_ptr_not_null(p, "Unexpected malloc() failure");
|
||||
|
||||
assert_d_eq(mallctl("thread.tcache.flush", NULL, NULL, NULL, 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue