summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrstone <rstone@FreeBSD.org>2011-03-07 15:19:17 +0000
committerrstone <rstone@FreeBSD.org>2011-03-07 15:19:17 +0000
commitb489000c798ef691622e8da15f54b10c2d42b9c5 (patch)
tree9d74c8477fa39da332879e080019a1737cf3e55b /lib
parent9747d7db5f1844386de5721948c75ab52174a270 (diff)
downloadFreeBSD-src-b489000c798ef691622e8da15f54b10c2d42b9c5.zip
FreeBSD-src-b489000c798ef691622e8da15f54b10c2d42b9c5.tar.gz
Correct a typo in the malloc(3) manpage. Malloc options are set in the
MALLOC_OPTIONS environment variable, not JEMALLOC_OPTIONS. Reviewed by: jasone Approved by: emaste (mentor)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/malloc.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 9f49b2e..5f09733 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -218,7 +218,7 @@ thread-specific cache garbage collection sweeps.
Garbage collection is actually performed incrementally, one size
class at a time, in order to avoid large collection pauses.
The default sweep interval is 8192;
-.Ev JEMALLOC_OPTIONS=14g
+.Ev MALLOC_OPTIONS=14g
will disable garbage collection.
.It H
Double/halve the number of thread-specific cache slots per size
@@ -232,7 +232,7 @@ See the
.Dq G
option for related tuning information.
The default number of cache slots is 128;
-.Ev JEMALLOC_OPTIONS=7h
+.Ev MALLOC_OPTIONS=7h
will disable thread-specific caching.
Note that one cache slot per size class is not a valid
configuration due to implementation details.
OpenPOWER on IntegriCloud