summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2019-01-16 00:14:18 (GMT)
committerQi Wang <interwq@gmail.com>2019-01-16 20:28:57 (GMT)
commit7a815c1b7c796ef35e7ede60cb2dd44aba9626b4 (patch)
treedb84844113cd7a84786889a4611199294e91a3b3 /test/unit
parentbbe8e6a9097203c7b29140b5410c787a6e204593 (diff)
downloadjemalloc-7a815c1b7c796ef35e7ede60cb2dd44aba9626b4.zip
jemalloc-7a815c1b7c796ef35e7ede60cb2dd44aba9626b4.tar.gz
jemalloc-7a815c1b7c796ef35e7ede60cb2dd44aba9626b4.tar.bz2
Un-experimental the huge_threshold feature.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/huge.c2
-rw-r--r--test/unit/mallctl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/huge.c b/test/unit/huge.c
index f371198..7e54d07 100644
--- a/test/unit/huge.c
+++ b/test/unit/huge.c
@@ -1,7 +1,7 @@
#include "test/jemalloc_test.h"
/* Threshold: 2 << 20 = 2097152. */
-const char *malloc_conf = "experimental_huge_threshold:2097152";
+const char *malloc_conf = "huge_threshold:2097152";
#define HUGE_SZ (2 << 20)
#define SMALL_SZ (8)
diff --git a/test/unit/mallctl.c b/test/unit/mallctl.c
index 039a881..b8b9340 100644
--- a/test/unit/mallctl.c
+++ b/test/unit/mallctl.c
@@ -164,7 +164,7 @@ TEST_BEGIN(test_mallctl_opt) {
TEST_MALLCTL_OPT(const char *, dss, always);
TEST_MALLCTL_OPT(unsigned, narenas, always);
TEST_MALLCTL_OPT(const char *, percpu_arena, always);
- TEST_MALLCTL_OPT(size_t, experimental_huge_threshold, always);
+ TEST_MALLCTL_OPT(size_t, huge_threshold, always);
TEST_MALLCTL_OPT(bool, background_thread, always);
TEST_MALLCTL_OPT(ssize_t, dirty_decay_ms, always);
TEST_MALLCTL_OPT(ssize_t, muzzy_decay_ms, always);