Un-experimental the huge_threshold feature.

This commit is contained in:
Qi Wang
2019-01-15 16:14:18 -08:00
committed by Qi Wang
parent bbe8e6a909
commit 7a815c1b7c
5 changed files with 5 additions and 6 deletions

View File

@@ -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)

View File

@@ -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);