Searched refs:new_arena (Results 1 – 1 of 1) sorted by relevance
273 Arena* new_arena = pool_->AllocArena(std::max(arena_allocator::kArenaDefaultSize, bytes)); in AllocFromNewArena() local274 DCHECK(new_arena != nullptr); in AllocFromNewArena()275 DCHECK_LE(bytes, new_arena->Size()); in AllocFromNewArena()276 if (static_cast<size_t>(end_ - ptr_) > new_arena->Size() - bytes) { in AllocFromNewArena()280 new_arena->bytes_allocated_ = bytes; // UpdateBytesAllocated() on the new_arena. in AllocFromNewArena()281 new_arena->next_ = arena_head_->next_; in AllocFromNewArena()282 arena_head_->next_ = new_arena; in AllocFromNewArena()285 new_arena->next_ = arena_head_; in AllocFromNewArena()286 arena_head_ = new_arena; in AllocFromNewArena()288 begin_ = new_arena->Begin(); in AllocFromNewArena()[all …]