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.c60 test_zero(SMALL_MAXCLASS+1, large_maxclass); in TEST_BEGIN()
68 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()
205 p = mallocx(large_maxclass, 0); in TEST_BEGIN()
/external/jemalloc/src/
Darena.c23 size_t large_maxclass; /* Max large size class. */ variable
2695 if (likely(size <= large_maxclass)) in arena_malloc_hard()
2800 } else if (usize <= large_maxclass && alignment <= PAGE) { in arena_palloc()
2812 if (likely(usize <= large_maxclass)) { in arena_palloc()
3267 if (likely(oldsize <= large_maxclass && usize_min <= large_maxclass)) { in arena_ralloc_no_move()
3323 if (likely(usize <= large_maxclass)) { in arena_ralloc()
3792 large_maxclass = index2size(size2index(chunksize)-1); in arena_boot()
3793 if (large_maxclass > arena_maxrun) { in arena_boot()
3799 large_maxclass = arena_maxrun; in arena_boot()
3801 assert(large_maxclass > 0); in arena_boot()
[all …]
Dtcache.c561 else if ((ZU(1) << opt_lg_tcache_max) > large_maxclass) in tcache_boot()
562 tcache_maxclass = large_maxclass; in tcache_boot()
/external/jemalloc/include/jemalloc/internal/
Dprivate_symbols.txt319 large_maxclass
Dprivate_namespace.h319 #define large_maxclass JEMALLOC_N(large_maxclass) macro
Dprivate_unnamespace.h319 #undef large_maxclass
Djemalloc_internal.h841 if (likely(size <= large_maxclass) && likely(alignment < chunksize)) { in sa2u()
Darena.h528 extern size_t large_maxclass; /* Max large size class. */
Djemalloc_internal.h.in841 if (likely(size <= large_maxclass) && likely(alignment < chunksize)) {