svn commit: r219377 - head/lib/libc/stdlib
Ryan Stone
rstone at FreeBSD.org
Mon Mar 7 15:19:18 UTC 2011
Author: rstone
Date: Mon Mar 7 15:19:17 2011
New Revision: 219377
URL: http://svn.freebsd.org/changeset/base/219377
Log:
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)
Modified:
head/lib/libc/stdlib/malloc.3
Modified: head/lib/libc/stdlib/malloc.3
==============================================================================
--- head/lib/libc/stdlib/malloc.3 Mon Mar 7 14:58:23 2011 (r219376)
+++ head/lib/libc/stdlib/malloc.3 Mon Mar 7 15:19:17 2011 (r219377)
@@ -218,7 +218,7 @@ thread-specific cache garbage collection
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.
More information about the svn-src-head
mailing list