Home
last modified time | relevance | path

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

/art/compiler/utils/
Darena_allocator.h31 class Arena; variable
77 void Dump(std::ostream& os, const Arena* first, ssize_t lost_bytes_adjustment) const { in Dump()
93 void Dump(std::ostream& os, const Arena* first, ssize_t lost_bytes_adjustment) const;
105 class Arena {
108 explicit Arena(size_t size = kDefaultSize);
109 ~Arena();
132 Arena* next_;
138 DISALLOW_COPY_AND_ASSIGN(Arena);
145 Arena* AllocArena(size_t size);
146 void FreeArenaChain(Arena* first);
[all …]
Darena_allocator.cc32 constexpr size_t Arena::kDefaultSize;
83 void ArenaAllocatorStatsImpl<kCount>::Dump(std::ostream& os, const Arena* first, in Dump()
88 for (const Arena* arena = first; arena != nullptr; arena = arena->next_) { in Dump()
114 Arena::Arena(size_t size) in Arena() function in art::Arena
131 Arena::~Arena() { in ~Arena()
139 void Arena::Reset() { in Reset()
163 Arena* ArenaPool::AllocArena(size_t size) { in AllocArena()
165 Arena* ret = nullptr; in AllocArena()
174 ret = new Arena(size); in AllocArena()
180 void ArenaPool::FreeArenaChain(Arena* first) { in FreeArenaChain()
[all …]
Dscoped_arena_allocator.h86 Arena* bottom_arena_;
87 Arena* top_arena_;
131 Arena* mark_arena_;
Dscoped_arena_allocator.cc58 size_t allocation_size = std::max(Arena::kDefaultSize, rounded_bytes); in AllocateFromNextArena()
65 Arena* tail = top_arena_->next_; in AllocateFromNextArena()