Conditianalize lg_tcache_max use on JEMALLOC_TCACHE.

This commit is contained in:
Jason Evans 2017-02-06 12:54:41 -08:00
parent 5177995530
commit 3bd6d8e41d

View File

@ -1,6 +1,10 @@
#include "test/jemalloc_test.h" #include "test/jemalloc_test.h"
const char *malloc_conf = "decay_time:1,lg_tcache_max:0"; const char *malloc_conf = "decay_time:1"
#ifdef JEMALLOC_TCACHE
",lg_tcache_max:0"
#endif
;
static nstime_monotonic_t *nstime_monotonic_orig; static nstime_monotonic_t *nstime_monotonic_orig;
static nstime_update_t *nstime_update_orig; static nstime_update_t *nstime_update_orig;