Lines Matching refs:Arena
131 void ArenaAllocatorStatsImpl<kCount>::Dump(std::ostream& os, const Arena* first, in Dump()
136 for (const Arena* arena = first; arena != nullptr; arena = arena->next_) { in Dump()
189 Arena::Arena() : bytes_allocated_(0), memory_(nullptr), size_(0), next_(nullptr) { in Arena() function in art::Arena
192 class MallocArena FINAL : public Arena {
239 class MemMapArena FINAL : public Arena {
275 void Arena::Reset() { in Reset()
302 Arena* arena = free_arenas_; in ReclaimMemory()
313 Arena* ArenaPool::AllocArena(size_t size) { in AllocArena()
315 Arena* ret = nullptr; in AllocArena()
324 ret = use_malloc_ ? static_cast<Arena*>(new MallocArena(size)) : in AllocArena()
336 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in TrimMaps()
345 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in GetBytesAllocated()
351 void ArenaPool::FreeArenaChain(Arena* first) { in FreeArenaChain()
353 for (Arena* arena = first; arena != nullptr; arena = arena->next_) { in FreeArenaChain()
361 Arena* next = first->next_; in FreeArenaChain()
369 Arena* last = first; in FreeArenaChain()
387 for (Arena* cur_arena = arena_head_->next_; cur_arena != nullptr; in BytesUsed()
461 Arena* new_arena = pool_->AllocArena(std::max(arena_allocator::kArenaDefaultSize, bytes)); in AllocFromNewArena()
506 for (const Arena* cur_arena = arena_head_; cur_arena != nullptr; cur_arena = cur_arena->next_) { in Contains()
516 const Arena* first_arena, in MemStats()