summaryrefslogtreecommitdiffstats
path: root/test/unit/decay.sh
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-04-21 00:21:37 (GMT)
committerJason Evans <jasone@canonware.com>2017-04-21 17:06:12 (GMT)
commit4403c9ab441eabb6c55d93b99836f7126e46be75 (patch)
treea7bf4b383956b2cd02b4cb8bdb8012640d283130 /test/unit/decay.sh
parent5aa46f027df42636d4aa1fb70d1078a6c5f96420 (diff)
downloadjemalloc-4403c9ab441eabb6c55d93b99836f7126e46be75.zip
jemalloc-4403c9ab441eabb6c55d93b99836f7126e46be75.tar.gz
jemalloc-4403c9ab441eabb6c55d93b99836f7126e46be75.tar.bz2
Remove --disable-tcache.
Simplify configuration by removing the --disable-tcache option, but replace the testing for that configuration with --with-malloc-conf=tcache:false. Fix the thread.arena and thread.tcache.flush mallctls to work correctly if tcache is disabled. This partially resolves #580.
Diffstat (limited to 'test/unit/decay.sh')
-rw-r--r--test/unit/decay.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/unit/decay.sh b/test/unit/decay.sh
index 0df1788..a41489b 100644
--- a/test/unit/decay.sh
+++ b/test/unit/decay.sh
@@ -1,6 +1,3 @@
#!/bin/sh
-export MALLOC_CONF="dirty_decay_time:1,muzzy_decay_time:1"
-if [ "x${enable_tcache}" = "x1" ] ; then
- export MALLOC_CONF="${MALLOC_CONF},lg_tcache_max:0"
-fi
+export MALLOC_CONF="dirty_decay_time:1,muzzy_decay_time:1,lg_tcache_max:0"