Home
last modified time | relevance | path

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

/external/jemalloc/test/unit/
Djunk.c143 test_junk(SMALL_MAXCLASS+1, arena_maxclass); in TEST_BEGIN()
151 test_junk(arena_maxclass+1, chunksize*2); in TEST_BEGIN()
175 assert_zu_eq(old_usize, arena_maxclass, "Unexpected old_usize"); in arena_ralloc_junk_large_intercept()
176 assert_zu_eq(usize, shrink_size(arena_maxclass), "Unexpected usize"); in arena_ralloc_junk_large_intercept()
184 p1 = mallocx(arena_maxclass, 0); in TEST_BEGIN()
190 p2 = rallocx(p1, shrink_size(arena_maxclass), 0); in TEST_BEGIN()
Dzero.c58 test_zero(SMALL_MAXCLASS+1, arena_maxclass); in TEST_BEGIN()
66 test_zero(arena_maxclass+1, chunksize*2); in TEST_BEGIN()
Dstats.c41 p = mallocx(arena_maxclass+1, 0); in TEST_BEGIN()
87 large = mallocx(arena_maxclass, 0); in TEST_BEGIN()
199 p = mallocx(arena_maxclass, 0); in TEST_BEGIN()
/external/jemalloc/src/
Darena.c14 size_t arena_maxclass; /* Max size class for arenas. */ variable
2158 } else if (usize <= arena_maxclass && alignment <= PAGE) { in arena_palloc()
2169 if (likely(usize <= arena_maxclass)) { in arena_palloc()
2548 if (unlikely(extra >= arena_maxclass)) in arena_ralloc_large()
2592 if (likely(size <= arena_maxclass)) { in arena_ralloc_no_move()
2597 if (likely(oldsize <= arena_maxclass)) { in arena_ralloc_no_move()
2608 assert(size <= arena_maxclass); in arena_ralloc_no_move()
2629 if (likely(size <= arena_maxclass)) { in arena_ralloc()
3069 arena_maxclass = index2size(size2index(chunksize)-1); in arena_boot()
3070 if (arena_maxclass > arena_maxrun) { in arena_boot()
[all …]
Dtcache.c504 else if ((1U << opt_lg_tcache_max) > arena_maxclass) in tcache_boot()
505 tcache_maxclass = arena_maxclass; in tcache_boot()
/external/jemalloc/include/jemalloc/internal/
Dprivate_symbols.txt58 arena_maxclass
Dprivate_namespace.h58 #define arena_maxclass JEMALLOC_N(arena_maxclass) macro
Darena.h421 extern size_t arena_maxclass; /* Max size class for arenas. */
1078 } else if (likely(size <= arena_maxclass)) { in arena_malloc()
Dprivate_unnamespace.h58 #undef arena_maxclass
Djemalloc_internal.h700 if (likely(size <= arena_maxclass) && likely(alignment < chunksize)) { in sa2u()
Djemalloc_internal.h.in700 if (likely(size <= arena_maxclass) && likely(alignment < chunksize)) {