Refactor !opt.munmap to opt.retain.
This commit is contained in:
@@ -251,7 +251,7 @@ TEST_BEGIN(test_arena_destroy_hooks_default) {
|
||||
TEST_END
|
||||
|
||||
/*
|
||||
* Actually unmap extents, regardless of opt_munmap, so that attempts to access
|
||||
* Actually unmap extents, regardless of opt_retain, so that attempts to access
|
||||
* a destroyed arena's memory will segfault.
|
||||
*/
|
||||
static bool
|
||||
|
@@ -157,7 +157,7 @@ TEST_BEGIN(test_mallctl_opt) {
|
||||
} while (0)
|
||||
|
||||
TEST_MALLCTL_OPT(bool, abort, always);
|
||||
TEST_MALLCTL_OPT(bool, munmap, always);
|
||||
TEST_MALLCTL_OPT(bool, retain, always);
|
||||
TEST_MALLCTL_OPT(const char *, dss, always);
|
||||
TEST_MALLCTL_OPT(unsigned, narenas, always);
|
||||
TEST_MALLCTL_OPT(const char *, percpu_arena, always);
|
||||
|
Reference in New Issue
Block a user