diff options
author | Jason Evans <jasone@canonware.com> | 2015-09-12 03:50:20 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2015-09-12 03:50:20 (GMT) |
commit | 676df88e48ae5ab77b05d78cb511cfa2e57d277f (patch) | |
tree | ec3b61e71c8a533e319f0761fa26fb6801125507 /src/tcache.c | |
parent | 560a4e1e01d3733c2f107cdb3cc3580f3ed84442 (diff) | |
download | jemalloc-676df88e48ae5ab77b05d78cb511cfa2e57d277f.zip jemalloc-676df88e48ae5ab77b05d78cb511cfa2e57d277f.tar.gz jemalloc-676df88e48ae5ab77b05d78cb511cfa2e57d277f.tar.bz2 |
Rename arena_maxclass to large_maxclass.
arena_maxclass is no longer an appropriate name, because arenas also
manage huge allocations.
Diffstat (limited to 'src/tcache.c')
-rw-r--r-- | src/tcache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tcache.c b/src/tcache.c index f1a30d5..fdafd0c 100644 --- a/src/tcache.c +++ b/src/tcache.c @@ -496,13 +496,13 @@ tcache_boot(void) unsigned i; /* - * If necessary, clamp opt_lg_tcache_max, now that arena_maxclass is + * If necessary, clamp opt_lg_tcache_max, now that large_maxclass is * known. */ if (opt_lg_tcache_max < 0 || (1U << opt_lg_tcache_max) < SMALL_MAXCLASS) tcache_maxclass = SMALL_MAXCLASS; - else if ((1U << opt_lg_tcache_max) > arena_maxclass) - tcache_maxclass = arena_maxclass; + else if ((1U << opt_lg_tcache_max) > large_maxclass) + tcache_maxclass = large_maxclass; else tcache_maxclass = (1U << opt_lg_tcache_max); |