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