Remove the "arenas.purge" mallctl.

Remove the "arenas.purge" mallctl, which was obsoleted by the
"arena.<i>.purge" mallctl in 3.1.0.
This commit is contained in:
Jason Evans
2014-04-15 12:46:28 -07:00
parent 4d434adb14
commit a2c719b374
3 changed files with 1 additions and 51 deletions

View File

@@ -279,18 +279,6 @@ TEST_BEGIN(test_arena_i_dss)
}
TEST_END
TEST_BEGIN(test_arenas_purge)
{
unsigned arena = 0;
assert_d_eq(mallctl("arenas.purge", NULL, NULL, &arena, sizeof(arena)),
0, "Unexpected mallctl() failure");
assert_d_eq(mallctl("arenas.purge", NULL, NULL, NULL, 0), 0,
"Unexpected mallctl() failure");
}
TEST_END
TEST_BEGIN(test_arenas_initialized)
{
unsigned narenas;
@@ -417,7 +405,6 @@ main(void)
test_thread_arena,
test_arena_i_purge,
test_arena_i_dss,
test_arenas_purge,
test_arenas_initialized,
test_arenas_constants,
test_arenas_bin_constants,