summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2013-06-03 04:05:59 (GMT)
committerJason Evans <jasone@canonware.com>2013-06-03 04:05:59 (GMT)
commit0ed518e5dab789ad2171bb38977a8927e2a26775 (patch)
tree839c8d334476ff176c714a82973070930cab7613 /doc
parent9ef9d9e8c271cdf14f664b871a8f98c827714784 (diff)
parent765cc2b58377551c820e2f2ffc0a311ed31a386c (diff)
downloadjemalloc-3.4.0.zip
jemalloc-3.4.0.tar.gz
jemalloc-3.4.0.tar.bz2
Merge branch 'dev'3.4.0
Diffstat (limited to 'doc')
-rw-r--r--doc/jemalloc.xml.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in
index 0930580..abd5e6f 100644
--- a/doc/jemalloc.xml.in
+++ b/doc/jemalloc.xml.in
@@ -432,7 +432,14 @@ for (i = 0; i < nbins; i++) {
referenced by the symbolic link named <filename
class="symlink">/etc/malloc.conf</filename>, and the value of the
environment variable <envar>MALLOC_CONF</envar>, will be interpreted, in
- that order, from left to right as options.</para>
+ that order, from left to right as options. Note that
+ <varname>malloc_conf</varname> may be read before
+ <function>main<parameter/></function> is entered, so the declaration of
+ <varname>malloc_conf</varname> should specify an initializer that contains
+ the final value to be read by jemalloc. <varname>malloc_conf</varname> is
+ a compile-time setting, whereas <filename
+ class="symlink">/etc/malloc.conf</filename> and <envar>MALLOC_CONF</envar>
+ can be safely set any time prior to program invocation.</para>
<para>An options string is a comma-separated list of option:value pairs.
There is one key corresponding to each <link