Home
last modified time | relevance | path

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

/art/libartbase/base/
Dscoped_arena_allocator.cc30 top_arena_(nullptr), in ArenaStack()
44 top_arena_ = nullptr; in Reset()
57 if (UNLIKELY(top_arena_ == nullptr)) { in AllocateFromNextArena()
58 top_arena_ = bottom_arena_ = stats_and_pool_.pool->AllocArena(allocation_size); in AllocateFromNextArena()
59 top_arena_->next_ = nullptr; in AllocateFromNextArena()
60 } else if (top_arena_->next_ != nullptr && top_arena_->next_->Size() >= allocation_size) { in AllocateFromNextArena()
61 top_arena_ = top_arena_->next_; in AllocateFromNextArena()
63 Arena* tail = top_arena_->next_; in AllocateFromNextArena()
64 top_arena_->next_ = stats_and_pool_.pool->AllocArena(allocation_size); in AllocateFromNextArena()
65 top_arena_ = top_arena_->next_; in AllocateFromNextArena()
[all …]
Dscoped_arena_allocator.h123 Arena* top_arena_; variable