summaryrefslogtreecommitdiffstats
path: root/jemalloc/doc
diff options
context:
space:
mode:
authorJason Evans <je@facebook.com>2010-08-13 22:42:29 (GMT)
committerJason Evans <je@facebook.com>2010-08-14 00:36:00 (GMT)
commitb267d0f86aff15a0edb2929f09060c118ed98ec4 (patch)
tree04753d90582013a2afd1da1918a9439e6b7358c5 /jemalloc/doc
parentdcd15098a8adfa6e44d7d1d041df968fb5fe9d82 (diff)
downloadjemalloc-b267d0f86aff15a0edb2929f09060c118ed98ec4.zip
jemalloc-b267d0f86aff15a0edb2929f09060c118ed98ec4.tar.gz
jemalloc-b267d0f86aff15a0edb2929f09060c118ed98ec4.tar.bz2
Add the thread.arena mallctl.
Make it possible for each thread to manage which arena it is associated with. Implement the 'tests' and 'check' build targets.
Diffstat (limited to 'jemalloc/doc')
-rw-r--r--jemalloc/doc/jemalloc.3.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/jemalloc/doc/jemalloc.3.in b/jemalloc/doc/jemalloc.3.in
index cf5cb5e..d2d5b77 100644
--- a/jemalloc/doc/jemalloc.3.in
+++ b/jemalloc/doc/jemalloc.3.in
@@ -669,6 +669,19 @@ This is useful for detecting whether another thread caused a refresh.
@roff_tcache@find manual flushing useful.
.Ed
.\"-----------------------------------------------------------------------------
+@roff_tls@.It Sy "thread.arena (unsigned) rw"
+@roff_tls@.Bd -ragged -offset indent -compact
+@roff_tls@Get or set the arena associated with the calling thread.
+@roff_tls@The arena index must be less than the maximum number of arenas (see
+@roff_tls@the
+@roff_tls@.Dq arenas.narenas
+@roff_tls@mallctl).
+@roff_tls@If the specified arena was not initialized beforehand (see the
+@roff_tls@.Dq arenas.initialized
+@roff_tls@mallctl), it will be automatically initialized as a side effect of
+@roff_tls@calling this interface.
+@roff_tls@.Ed
+.\"-----------------------------------------------------------------------------
.It Sy "config.debug (bool) r-"
.Bd -ragged -offset indent -compact
--enable-debug was specified during build configuration.