Home
last modified time | relevance | path

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

/art/compiler/dex/
Darena_allocator.cc45 Arena::Arena(size_t size) in Arena() function in art::Arena
59 Arena::~Arena() { in ~Arena()
67 void Arena::Reset() { in Reset()
91 Arena* ArenaPool::AllocArena(size_t size) { in AllocArena()
93 Arena* ret = nullptr; in AllocArena()
102 ret = new Arena(size); in AllocArena()
108 void ArenaPool::FreeArena(Arena* arena) { in FreeArena()
147 Arena* arena = arena_head_; in ~ArenaAllocator()
155 Arena* new_arena = pool_->AllocArena(std::max(Arena::kDefaultSize, allocation_size)); in ObtainNewArenaForAllocation()
169 for (Arena* arena = arena_head_; arena != nullptr; arena = arena->next_) { in DumpMemStats()
Darena_allocator.h29 class Arena; variable
33 class Arena {
36 explicit Arena(size_t size = kDefaultSize);
37 ~Arena();
60 Arena* next_;
63 DISALLOW_COPY_AND_ASSIGN(Arena);
70 Arena* AllocArena(size_t size);
71 void FreeArena(Arena* arena);
75 Arena* free_arenas_ GUARDED_BY(lock_);
134 Arena* arena_head_;