summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2014-04-15 23:35:08 (GMT)
committerJason Evans <je@fb.com>2014-04-15 23:49:57 (GMT)
commitbd87b01999416ec7418ff8bdb504d9b6c009ff68 (patch)
tree776e813f41743767750516e7f10317ac8ba92df0 /doc
parentecd3e59ca351d7111ec72a327fe0c009f2aa69a0 (diff)
downloadjemalloc-bd87b01999416ec7418ff8bdb504d9b6c009ff68.zip
jemalloc-bd87b01999416ec7418ff8bdb504d9b6c009ff68.tar.gz
jemalloc-bd87b01999416ec7418ff8bdb504d9b6c009ff68.tar.bz2
Optimize Valgrind integration.
Forcefully disable tcache if running inside Valgrind, and remove Valgrind calls in tcache-specific code. Restructure Valgrind-related code to move most Valgrind calls out of the fast path functions. Take advantage of static knowledge to elide some branches in JEMALLOC_VALGRIND_REALLOC().
Diffstat (limited to 'doc')
-rw-r--r--doc/jemalloc.xml.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in
index 3e0b806..78e9b3c 100644
--- a/doc/jemalloc.xml.in
+++ b/doc/jemalloc.xml.in
@@ -979,7 +979,8 @@ malloc_conf = "xmalloc:true";]]></programlisting>
linkend="opt.lg_tcache_max"><mallctl>opt.lg_tcache_max</mallctl></link>
option for related tuning information. This option is enabled by
default unless running inside <ulink
- url="http://valgrind.org/">Valgrind</ulink>.</para></listitem>
+ url="http://valgrind.org/">Valgrind</ulink>, in which case it is
+ forcefully disabled.</para></listitem>
</varlistentry>
<varlistentry id="opt.lg_tcache_max">