Home
last modified time | relevance | path

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

/art/runtime/gc/
Dheap-inl.h388 size_t new_footprint = num_bytes_allocated_.LoadSequentiallyConsistent() + alloc_size; in IsOutOfMemoryOnAllocation() local
389 if (UNLIKELY(new_footprint > max_allowed_footprint_)) { in IsOutOfMemoryOnAllocation()
390 if (UNLIKELY(new_footprint > growth_limit_)) { in IsOutOfMemoryOnAllocation()
399 << PrettySize(new_footprint) << " for a " << PrettySize(alloc_size) << " allocation"; in IsOutOfMemoryOnAllocation()
400 max_allowed_footprint_ = new_footprint; in IsOutOfMemoryOnAllocation()
/art/runtime/gc/allocator/
Drosalloc.cc192 size_t new_footprint = footprint_ + increment; in AllocPages() local
193 size_t new_num_of_pages = new_footprint / kPageSize; in AllocPages()
205 DCHECK_EQ(last_free_page_run->End(this), base_ + new_footprint); in AllocPages()
225 << footprint_ << " to " << new_footprint; in AllocPages()
227 footprint_ = new_footprint; in AllocPages()
1359 size_t new_footprint = footprint_ - decrement; in Trim() local
1360 DCHECK_EQ(new_footprint % kPageSize, static_cast<size_t>(0)); in Trim()
1361 size_t new_num_of_pages = new_footprint / kPageSize; in Trim()
1385 << footprint_ << " to " << new_footprint; in Trim()
1387 DCHECK_LT(new_footprint, footprint_); in Trim()
[all …]
/art/runtime/jit/
Djit_code_cache.h303 void SetFootprintLimit(size_t new_footprint) REQUIRES(lock_);
Djit_code_cache.cc877 void JitCodeCache::SetFootprintLimit(size_t new_footprint) { in SetFootprintLimit() argument
878 size_t per_space_footprint = new_footprint / 2; in SetFootprintLimit()
880 DCHECK_EQ(per_space_footprint * 2, new_footprint); in SetFootprintLimit()