Home
last modified time | relevance | path

Searched refs:large_maxclass (Results 1 – 11 of 11) sorted by relevance

/external/jemalloc/test/unit/
Djunk.c143 test_junk(SMALL_MAXCLASS+1, large_maxclass); in TEST_BEGIN()
151 test_junk(large_maxclass+1, chunksize*2); in TEST_BEGIN()
175 assert_zu_eq(old_usize, large_maxclass, "Unexpected old_usize"); in arena_ralloc_junk_large_intercept()
176 assert_zu_eq(usize, shrink_size(large_maxclass), "Unexpected usize"); in arena_ralloc_junk_large_intercept()
184 p1 = mallocx(large_maxclass, 0); in TEST_BEGIN()
190 p2 = rallocx(p1, shrink_size(large_maxclass), 0); in TEST_BEGIN()
Dzero.c58 test_zero(SMALL_MAXCLASS+1, large_maxclass); in TEST_BEGIN()
66 test_zero(large_maxclass+1, chunksize*2); in TEST_BEGIN()
Dstats.c45 p = mallocx(large_maxclass+1, 0); in TEST_BEGIN()
91 large = mallocx(large_maxclass, 0); in TEST_BEGIN()
203 p = mallocx(large_maxclass, 0); in TEST_BEGIN()
/external/jemalloc/src/
Darena.c23 size_t large_maxclass; /* Max large size class. */ variable
2491 if (likely(size <= large_maxclass)) in arena_malloc_hard()
2594 } else if (usize <= large_maxclass && alignment <= PAGE) { in arena_palloc()
2606 if (likely(usize <= large_maxclass)) { in arena_palloc()
3055 if (likely(oldsize <= large_maxclass && usize_min <= large_maxclass)) { in arena_ralloc_no_move()
3111 if (likely(usize <= large_maxclass)) { in arena_ralloc()
3623 large_maxclass = index2size(size2index(chunksize)-1); in arena_boot()
3624 if (large_maxclass > arena_maxrun) { in arena_boot()
3630 large_maxclass = arena_maxrun; in arena_boot()
3632 assert(large_maxclass > 0); in arena_boot()
[all …]
Dtcache.c513 else if ((1U << opt_lg_tcache_max) > large_maxclass) in tcache_boot()
514 tcache_maxclass = large_maxclass; in tcache_boot()
/external/jemalloc/include/jemalloc/internal/
Dprivate_symbols.txt303 large_maxclass
Dprivate_namespace.h305 #define large_maxclass JEMALLOC_N(large_maxclass) macro
Dprivate_unnamespace.h305 #undef large_maxclass
Djemalloc_internal.h730 if (likely(size <= large_maxclass) && likely(alignment < chunksize)) { in sa2u()
Darena.h499 extern size_t large_maxclass; /* Max large size class. */
Djemalloc_internal.h.in730 if (likely(size <= large_maxclass) && likely(alignment < chunksize)) {