Lines Matching defs:arena
122 for (const Arena* arena = first; arena != nullptr; arena = arena->next_) {
123 malloc_bytes += arena->Size();
124 lost_bytes += arena->RemainingSpace();
127 // The lost_bytes_adjustment is used to make up for the fact that the current arena
220 auto* arena = free_arenas_;
222 delete arena;
254 for (auto* arena = free_arenas_; arena != nullptr; arena = arena->next_) {
255 arena->Release();
263 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) {
264 total += arena->GetBytesAllocated();
271 for (Arena* arena = first; arena != nullptr; arena = arena->next_) {
272 MEMORY_TOOL_MAKE_UNDEFINED(arena->memory_, arena->bytes_allocated_);
312 // Update how many bytes we have allocated into the arena so that the arena pool knows how
319 // We mark all memory for a newly retrieved arena as inaccessible and then
333 // We're still using the old arena but `ret` comes from a new one just after it.
361 // The old arena has more space remaining than the new one, so keep using it.