aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-04-26 16:26:12 -0700
committerJason Evans <jasone@canonware.com>2017-04-29 09:24:12 -0700
commitb9ab04a191dbcb9246d5180fc7ae822a85861939 (patch)
treeea4a2c8b8fd64b79499ad4680a2989e99e030464 /test
parentd901a377753cf4c75d2f72f7a692c44f61eac4a4 (diff)
downloadplatform_external_jemalloc_new-b9ab04a191dbcb9246d5180fc7ae822a85861939.tar.gz
platform_external_jemalloc_new-b9ab04a191dbcb9246d5180fc7ae822a85861939.tar.bz2
platform_external_jemalloc_new-b9ab04a191dbcb9246d5180fc7ae822a85861939.zip
Refactor !opt.munmap to opt.retain.
Diffstat (limited to 'test')
-rw-r--r--test/unit/arena_reset.c2
-rw-r--r--test/unit/mallctl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/arena_reset.c b/test/unit/arena_reset.c
index 0fa240b7..5d6c1a77 100644
--- a/test/unit/arena_reset.c
+++ b/test/unit/arena_reset.c
@@ -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
diff --git a/test/unit/mallctl.c b/test/unit/mallctl.c
index 51a5244e..b07a6d04 100644
--- a/test/unit/mallctl.c
+++ b/test/unit/mallctl.c
@@ -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);