mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-25 18:17:19 +03:00
Rename the arenas.extend mallctl to arenas.create.
This commit is contained in:
parent
3dc4e83ccb
commit
0f04bb1d6f
10 changed files with 29 additions and 29 deletions
|
|
@ -292,7 +292,7 @@ TEST_BEGIN(test_extent_manual_hook)
|
|||
size_t hooks_miblen;
|
||||
|
||||
sz = sizeof(unsigned);
|
||||
assert_d_eq(mallctl("arenas.extend", (void *)&arena_ind, &sz, NULL, 0),
|
||||
assert_d_eq(mallctl("arenas.create", (void *)&arena_ind, &sz, NULL, 0),
|
||||
0, "Unexpected mallctl() failure");
|
||||
|
||||
/* Install custom extent hooks. */
|
||||
|
|
@ -354,7 +354,7 @@ TEST_BEGIN(test_extent_auto_hook)
|
|||
|
||||
sz = sizeof(unsigned);
|
||||
new_size = sizeof(extent_hooks_t *);
|
||||
assert_d_eq(mallctl("arenas.extend", (void *)&arena_ind, &sz,
|
||||
assert_d_eq(mallctl("arenas.create", (void *)&arena_ind, &sz,
|
||||
(void *)&new_hooks, new_size), 0, "Unexpected mallctl() failure");
|
||||
|
||||
test_extent_body(arena_ind);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue