Home
last modified time | relevance | path

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

/art/runtime/gc/
Dheap-inl.h450 size_t new_footprint = old_allocated + alloc_size; in IsOutOfMemoryOnAllocation() local
453 if (UNLIKELY(new_footprint <= old_target)) { in IsOutOfMemoryOnAllocation()
455 } else if (UNLIKELY(new_footprint > growth_limit_)) { in IsOutOfMemoryOnAllocation()
463 if (target_footprint_.compare_exchange_weak(/*inout ref*/old_target, new_footprint, in IsOutOfMemoryOnAllocation()
465 VlogHeapGrowth(old_target, new_footprint, alloc_size); in IsOutOfMemoryOnAllocation()
Dheap.h1286 static void VlogHeapGrowth(size_t max_allowed_footprint, size_t new_footprint, size_t alloc_size);
Dheap.cc4606 void Heap::VlogHeapGrowth(size_t old_footprint, size_t new_footprint, size_t alloc_size) { in VlogHeapGrowth() argument
4608 << PrettySize(new_footprint) << " for a " << PrettySize(alloc_size) << " allocation"; in VlogHeapGrowth()
/art/runtime/jit/
Djit_memory_region.cc305 void JitMemoryRegion::SetFootprintLimit(size_t new_footprint) { in SetFootprintLimit() argument
306 size_t data_space_footprint = new_footprint / kCodeAndDataCapacityDivider; in SetFootprintLimit()
308 DCHECK_EQ(data_space_footprint * kCodeAndDataCapacityDivider, new_footprint); in SetFootprintLimit()
311 mspace_set_footprint_limit(exec_mspace_, new_footprint - data_space_footprint); in SetFootprintLimit()
Djit_memory_region.h80 void SetFootprintLimit(size_t new_footprint) REQUIRES(Locks::jit_lock_);
/art/runtime/gc/allocator/
Drosalloc.cc195 size_t new_footprint = footprint_ + increment; in AllocPages() local
196 size_t new_num_of_pages = new_footprint / kPageSize; in AllocPages()
208 DCHECK_EQ(last_free_page_run->End(this), base_ + new_footprint); in AllocPages()
228 << footprint_ << " to " << new_footprint; in AllocPages()
230 footprint_ = new_footprint; in AllocPages()
1361 size_t new_footprint = footprint_ - decrement; in Trim() local
1362 DCHECK_EQ(new_footprint % kPageSize, static_cast<size_t>(0)); in Trim()
1363 size_t new_num_of_pages = new_footprint / kPageSize; in Trim()
1387 << footprint_ << " to " << new_footprint; in Trim()
1389 DCHECK_LT(new_footprint, footprint_); in Trim()
[all …]