Home
last modified time | relevance | path

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

/art/runtime/base/
Dscoped_arena_allocator.cc30 top_arena_(nullptr), in ArenaStack()
45 top_arena_ = nullptr; in Reset()
59 if (UNLIKELY(top_arena_ == nullptr)) { in AllocateFromNextArena()
60 top_arena_ = bottom_arena_ = stats_and_pool_.pool->AllocArena(allocation_size); in AllocateFromNextArena()
61 top_arena_->next_ = nullptr; in AllocateFromNextArena()
62 } else if (top_arena_->next_ != nullptr && top_arena_->next_->Size() >= allocation_size) { in AllocateFromNextArena()
63 top_arena_ = top_arena_->next_; in AllocateFromNextArena()
65 Arena* tail = top_arena_->next_; in AllocateFromNextArena()
66 top_arena_->next_ = stats_and_pool_.pool->AllocArena(allocation_size); in AllocateFromNextArena()
67 top_arena_ = top_arena_->next_; in AllocateFromNextArena()
[all …]
Dscoped_arena_allocator.h87 Arena* top_arena_; variable