diff options
author | Jason Evans <jasone@canonware.com> | 2016-05-27 18:57:15 -0700 |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-06-03 12:27:41 -0700 |
commit | b46261d58b449cc4c099ed2384451a2499688f0e (patch) | |
tree | 77c8ee012fca1987b28dbf631efff5a4c7a0f212 /src/prof.c | |
parent | 4731cd47f7168e70809d83c8569f501891ecffa1 (diff) | |
download | platform_external_jemalloc_new-b46261d58b449cc4c099ed2384451a2499688f0e.tar.gz platform_external_jemalloc_new-b46261d58b449cc4c099ed2384451a2499688f0e.tar.bz2 platform_external_jemalloc_new-b46261d58b449cc4c099ed2384451a2499688f0e.zip |
Implement cache-oblivious support for huge size classes.
Diffstat (limited to 'src/prof.c')
-rw-r--r-- | src/prof.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -879,7 +879,7 @@ prof_sample_threshold_update(prof_tdata_t *tdata) * pp 500 * (http://luc.devroye.org/rnbookindex.html) */ - r = prng_lg_range(&tdata->prng_state, 53); + r = prng_lg_range(&tdata->prng_state, 53, false); u = (double)r * (1.0/9007199254740992.0L); tdata->bytes_until_sample = (uint64_t)(log(u) / log(1.0 - (1.0 / (double)((uint64_t)1U << lg_prof_sample)))) |