Searched refs:Arena (Results 1 – 4 of 4) sorted by relevance
30 class Arena; variable88 void Dump(std::ostream& os, const Arena* first, ssize_t lost_bytes_adjustment) const { in Dump()104 void Dump(std::ostream& os, const Arena* first, ssize_t lost_bytes_adjustment) const;116 class Arena {119 Arena();120 virtual ~Arena() { } in ~Arena()154 Arena* next_;162 DISALLOW_COPY_AND_ASSIGN(Arena);165 class MallocArena FINAL : public Arena {167 explicit MallocArena(size_t size = Arena::kDefaultSize);[all …]
31 constexpr size_t Arena::kDefaultSize;93 void ArenaAllocatorStatsImpl<kCount>::Dump(std::ostream& os, const Arena* first, in Dump()98 for (const Arena* arena = first; arena != nullptr; arena = arena->next_) { in Dump()124 Arena::Arena() : bytes_allocated_(0), next_(nullptr) { in Arena() function in art::Arena156 void Arena::Reset() { in Reset()182 Arena* ArenaPool::AllocArena(size_t size) { in AllocArena()184 Arena* ret = nullptr; in AllocArena()193 ret = use_malloc_ ? static_cast<Arena*>(new MallocArena(size)) : in AllocArena()213 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in GetBytesAllocated()219 void ArenaPool::FreeArenaChain(Arena* first) { in FreeArenaChain()[all …]
86 Arena* bottom_arena_;87 Arena* top_arena_;136 Arena* mark_arena_;
58 size_t allocation_size = std::max(Arena::kDefaultSize, rounded_bytes); in AllocateFromNextArena()65 Arena* tail = top_arena_->next_; in AllocateFromNextArena()