Home
last modified time | relevance | path

Searched refs:kDefaultArenaBlockSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/binary_translation/base/include/berberis/base/
Darena_alloc.h35 inline constexpr size_t kDefaultArenaBlockSize = 32 * 4096; variable
36 inline constexpr size_t kMmapPoolSizeLimit = kDefaultArenaBlockSize * 16;
39 using MmapPoolForArena = MmapPool<kDefaultArenaBlockSize, kMmapPoolSizeLimit>;
55 return new (MmapPoolForArena::Alloc()) ArenaBlock{kDefaultArenaBlockSize, blocks}; in AllocArenaBlock()
66 if (blocks->size == kDefaultArenaBlockSize) { in FreeArenaBlocks()
/frameworks/libs/binary_translation/base/
Darena_test.cc45 static constexpr size_t kBlockSize = arena_internal::kDefaultArenaBlockSize;