Home
last modified time | relevance | path

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

/art/runtime/gc/
Dheap-inl.h292 size_t new_footprint = num_bytes_allocated_.LoadSequentiallyConsistent() + alloc_size; in IsOutOfMemoryOnAllocation() local
293 if (UNLIKELY(new_footprint > max_allowed_footprint_)) { in IsOutOfMemoryOnAllocation()
294 if (UNLIKELY(new_footprint > growth_limit_)) { in IsOutOfMemoryOnAllocation()
303 << PrettySize(new_footprint) << " for a " << PrettySize(alloc_size) << " allocation"; in IsOutOfMemoryOnAllocation()
304 max_allowed_footprint_ = new_footprint; in IsOutOfMemoryOnAllocation()
/art/runtime/gc/allocator/
Drosalloc.cc174 size_t new_footprint = footprint_ + increment; in AllocPages() local
175 size_t new_num_of_pages = new_footprint / kPageSize; in AllocPages()
187 DCHECK_EQ(last_free_page_run->End(this), base_ + new_footprint); in AllocPages()
207 << footprint_ << " to " << new_footprint; in AllocPages()
209 footprint_ = new_footprint; in AllocPages()
1503 size_t new_footprint = footprint_ - decrement; in Trim() local
1504 DCHECK_EQ(new_footprint % kPageSize, static_cast<size_t>(0)); in Trim()
1505 size_t new_num_of_pages = new_footprint / kPageSize; in Trim()
1529 << footprint_ << " to " << new_footprint; in Trim()
1531 DCHECK_LT(new_footprint, footprint_); in Trim()
[all …]