summaryrefslogtreecommitdiffstats
path: root/test/unit/mallctl.c
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-05-16 00:44:13 (GMT)
committerQi Wang <interwq@gmail.com>2017-05-23 19:26:20 (GMT)
commit2c368284d2485bda47002f22dace6c0b55e4701e (patch)
tree9e49c512b3651b30f34110b5540e09c926ebe9ca /test/unit/mallctl.c
parent44559e7cf179d1e9eddcc681d961e076511ee857 (diff)
downloadjemalloc-2c368284d2485bda47002f22dace6c0b55e4701e.zip
jemalloc-2c368284d2485bda47002f22dace6c0b55e4701e.tar.gz
jemalloc-2c368284d2485bda47002f22dace6c0b55e4701e.tar.bz2
Add tests for background threads.
Diffstat (limited to 'test/unit/mallctl.c')
-rw-r--r--test/unit/mallctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/mallctl.c b/test/unit/mallctl.c
index f721c21..8339e8c 100644
--- a/test/unit/mallctl.c
+++ b/test/unit/mallctl.c
@@ -161,6 +161,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(bool, background_thread, always);
TEST_MALLCTL_OPT(ssize_t, dirty_decay_ms, always);
TEST_MALLCTL_OPT(ssize_t, muzzy_decay_ms, always);
TEST_MALLCTL_OPT(bool, stats_print, always);