diff options
author | Jason Evans <je@facebook.com> | 2010-10-01 00:10:17 (GMT) |
---|---|---|
committer | Jason Evans <je@facebook.com> | 2010-10-01 00:10:17 (GMT) |
commit | 37dab02e524c14cffa4bb938242e4cf2695a4a7d (patch) | |
tree | f1515957d00f0234b67cb53ec40a8b85cb3db0ed /jemalloc/doc | |
parent | 6005f0710cf07d60659d91b20b7ff5592d310027 (diff) | |
download | jemalloc-37dab02e524c14cffa4bb938242e4cf2695a4a7d.zip jemalloc-37dab02e524c14cffa4bb938242e4cf2695a4a7d.tar.gz jemalloc-37dab02e524c14cffa4bb938242e4cf2695a4a7d.tar.bz2 |
Disable interval-based profile dumps by default.
It is common to have to specify something like JEMALLOC_OPTIONS=F31i,
because interval-based dumps are often unuseful or too expensive.
Therefore, disable interval-based dumps by default. To get the previous
default behavior it is now necessary to specify 31I as part of the
options.
Diffstat (limited to 'jemalloc/doc')
-rw-r--r-- | jemalloc/doc/jemalloc.3.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/jemalloc/doc/jemalloc.3.in b/jemalloc/doc/jemalloc.3.in index f32c4bf..2ac093a 100644 --- a/jemalloc/doc/jemalloc.3.in +++ b/jemalloc/doc/jemalloc.3.in @@ -526,9 +526,13 @@ will disable dirty page purging. @roff_prof@is controlled by the @roff_prof@JEMALLOC_PROF_PREFIX @roff_prof@environment variable. -@roff_prof@The default average interval is 1 GiB; -@roff_prof@.Ev JEMALLOC_OPTIONS=31i -@roff_prof@will disable interval-triggered profile dumping. +@roff_prof@By default, interval-triggered profile dumping is disabled. +@roff_prof@This is internally encoded as (1 << -1), and each +@roff_prof@.Dq I +@roff_prof@that is specified increments the shift amount. +@roff_prof@Therefore, e.g. +@roff_prof@.Ev JEMALLOC_OPTIONS=31I +@roff_prof@specifies a dump interval of 1 GiB. @roff_fill@.It J @roff_fill@Each byte of new memory allocated by @roff_fill@.Fn @jemalloc_prefix@malloc |