Home
last modified time | relevance | path

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

/art/runtime/base/
Darena_allocator.cc357 Arena* new_arena = pool_->AllocArena(std::max(Arena::kDefaultSize, bytes)); in AllocFromNewArena() local
358 DCHECK(new_arena != nullptr); in AllocFromNewArena()
359 DCHECK_LE(bytes, new_arena->Size()); in AllocFromNewArena()
360 if (static_cast<size_t>(end_ - ptr_) > new_arena->Size() - bytes) { in AllocFromNewArena()
364 new_arena->bytes_allocated_ = bytes; // UpdateBytesAllocated() on the new_arena. in AllocFromNewArena()
365 new_arena->next_ = arena_head_->next_; in AllocFromNewArena()
366 arena_head_->next_ = new_arena; in AllocFromNewArena()
369 new_arena->next_ = arena_head_; in AllocFromNewArena()
370 arena_head_ = new_arena; in AllocFromNewArena()
372 begin_ = new_arena->Begin(); in AllocFromNewArena()
[all …]