diff options
author | Jason Evans <jasone@canonware.com> | 2016-04-22 21:37:17 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-04-22 22:20:06 (GMT) |
commit | 19ff2cefba48d1ddab8fb52e3d78f309ca2553cf (patch) | |
tree | 25c4cba5d31e58642058e15bbfd8cc834594d150 /doc | |
parent | 66cd953514a18477eb49732e40d5c2ab5f1b12c5 (diff) | |
download | jemalloc-19ff2cefba48d1ddab8fb52e3d78f309ca2553cf.zip jemalloc-19ff2cefba48d1ddab8fb52e3d78f309ca2553cf.tar.gz jemalloc-19ff2cefba48d1ddab8fb52e3d78f309ca2553cf.tar.bz2 |
Implement the arena.<i>.reset mallctl.
This makes it possible to discard all of an arena's allocations in a
single operation.
This resolves #146.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/jemalloc.xml.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in index 9814c22..7b602a5 100644 --- a/doc/jemalloc.xml.in +++ b/doc/jemalloc.xml.in @@ -1558,6 +1558,23 @@ malloc_conf = "xmalloc:true";]]></programlisting> details.</para></listitem> </varlistentry> + <varlistentry id="arena.i.reset"> + <term> + <mallctl>arena.<i>.reset</mallctl> + (<type>void</type>) + <literal>--</literal> + </term> + <listitem><para>Discard all of the arena's extant allocations. This + interface can only be used with arenas created via <link + linkend="arenas.extend"><mallctl>arenas.extend</mallctl></link>. None + of the arena's discarded/cached allocations may accessed afterward. As + part of this requirement, all thread caches which were used to + allocate/deallocate in conjunction with the arena must be flushed + beforehand. This interface cannot be used if running inside Valgrind, + nor if the <link linkend="opt.quarantine">quarantine</link> size is + non-zero.</para></listitem> + </varlistentry> + <varlistentry id="arena.i.dss"> <term> <mallctl>arena.<i>.dss</mallctl> |