diff options
author | David Goldblatt <davidgoldblatt@fb.com> | 2019-03-22 19:53:11 (GMT) |
---|---|---|
committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2019-04-15 23:48:12 (GMT) |
commit | 33e1dad6803ea3e20971b46baa299045f736d22a (patch) | |
tree | f5d9814442d9e855b7aae5a2e981dd164332a0f7 /test/unit/safety_check.sh | |
parent | b92c9a1a81f3f68da87afe5887d8450fef0700d3 (diff) | |
download | jemalloc-33e1dad6803ea3e20971b46baa299045f736d22a.zip jemalloc-33e1dad6803ea3e20971b46baa299045f736d22a.tar.gz jemalloc-33e1dad6803ea3e20971b46baa299045f736d22a.tar.bz2 |
Safety checks: Add a redzoning feature.
Diffstat (limited to 'test/unit/safety_check.sh')
-rw-r--r-- | test/unit/safety_check.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/safety_check.sh b/test/unit/safety_check.sh new file mode 100644 index 0000000..8fcc7d8 --- /dev/null +++ b/test/unit/safety_check.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ "x${enable_prof}" = "x1" ] ; then + export MALLOC_CONF="prof:true,lg_prof_sample:0" +fi |