Home
last modified time | relevance | path

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

/art/runtime/gc/
Dheap-inl.h406 size_t new_footprint = num_bytes_allocated_.LoadSequentiallyConsistent() + alloc_size; in IsOutOfMemoryOnAllocation() local
407 if (UNLIKELY(new_footprint > max_allowed_footprint_)) { in IsOutOfMemoryOnAllocation()
408 if (UNLIKELY(new_footprint > growth_limit_)) { in IsOutOfMemoryOnAllocation()
417 << PrettySize(new_footprint) << " for a " << PrettySize(alloc_size) << " allocation"; in IsOutOfMemoryOnAllocation()
418 max_allowed_footprint_ = new_footprint; in IsOutOfMemoryOnAllocation()
/art/runtime/gc/allocator/
Drosalloc.cc179 size_t new_footprint = footprint_ + increment; in AllocPages() local
180 size_t new_num_of_pages = new_footprint / kPageSize; in AllocPages()
192 DCHECK_EQ(last_free_page_run->End(this), base_ + new_footprint); in AllocPages()
212 << footprint_ << " to " << new_footprint; in AllocPages()
214 footprint_ = new_footprint; in AllocPages()
1511 size_t new_footprint = footprint_ - decrement; in Trim() local
1512 DCHECK_EQ(new_footprint % kPageSize, static_cast<size_t>(0)); in Trim()
1513 size_t new_num_of_pages = new_footprint / kPageSize; in Trim()
1537 << footprint_ << " to " << new_footprint; in Trim()
1539 DCHECK_LT(new_footprint, footprint_); in Trim()
[all …]