diff options
author | Jason Evans <je@fb.com> | 2012-04-17 23:39:33 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2012-04-17 23:39:33 (GMT) |
commit | 0b25fe79aaf8840a5acda7e3160a053d42349872 (patch) | |
tree | 05a4dc169e62517bff86393644e1e05fc501acf7 /src/jemalloc.c | |
parent | 25a000e89649d9ce5aacc1089408b8b3bafeb5e4 (diff) | |
download | jemalloc-0b25fe79aaf8840a5acda7e3160a053d42349872.zip jemalloc-0b25fe79aaf8840a5acda7e3160a053d42349872.tar.gz jemalloc-0b25fe79aaf8840a5acda7e3160a053d42349872.tar.bz2 |
Update prof defaults to match common usage.
Change the "opt.lg_prof_sample" default from 0 to 19 (1 B to 512 KiB).
Change the "opt.prof_accum" default from true to false.
Add the "opt.prof_final" mallctl, so that "opt.prof_prefix" need not be
abused to disable final profile dumping.
Diffstat (limited to 'src/jemalloc.c')
-rw-r--r-- | src/jemalloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c index 0decd8a..d4b681b 100644 --- a/src/jemalloc.c +++ b/src/jemalloc.c @@ -561,6 +561,7 @@ malloc_conf_init(void) lg_prof_interval, -1, (sizeof(uint64_t) << 3) - 1) CONF_HANDLE_BOOL(opt_prof_gdump, prof_gdump) + CONF_HANDLE_BOOL(opt_prof_final, prof_final) CONF_HANDLE_BOOL(opt_prof_leak, prof_leak) } malloc_conf_error("Invalid conf pair", k, klen, v, |