Lines Matching refs:arena
88 for (const Arena* arena = first; arena != nullptr; arena = arena->next_) {
89 malloc_bytes += arena->Size();
90 lost_bytes += arena->RemainingSpace();
93 // The lost_bytes_adjustment is used to make up for the fact that the current arena
120 map_ = MemMap::MapAnonymous("dalvik-arena", NULL, size, PROT_READ | PROT_WRITE, false,
157 auto* arena = free_arenas_;
159 delete arena;
183 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) {
184 total += arena->GetBytesAllocated();
191 for (Arena* arena = first; arena != nullptr; arena = arena->next_) {
192 VALGRIND_MAKE_MEM_UNDEFINED(arena->memory_, arena->bytes_allocated_);
222 // Update how many bytes we have allocated into the arena so that the arena pool knows how