Rename huge_threshold to experimental, and tweak documentation.

This commit is contained in:
Qi Wang
2018-06-04 11:04:29 -07:00
committed by Qi Wang
parent ff622eeab5
commit cdf15b458a
6 changed files with 15 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#include "test/jemalloc_test.h"
/* Threshold: 2 << 20 = 2097152. */
const char *malloc_conf = "huge_threshold:2097152";
const char *malloc_conf = "experimental_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, huge_threshold, always);
TEST_MALLCTL_OPT(size_t, experimental_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);