Lines Matching refs:target_footprint
2286 size_t target_footprint = target_footprint_.load(std::memory_order_relaxed); in SetDefaultConcurrentStartBytesLocked() local
2287 size_t reserve_bytes = target_footprint / 4; in SetDefaultConcurrentStartBytesLocked()
2290 concurrent_start_bytes_ = UnsignedDifference(target_footprint, reserve_bytes); in SetDefaultConcurrentStartBytesLocked()
3718 void Heap::SetIdealFootprint(size_t target_footprint) { in SetIdealFootprint() argument
3719 if (target_footprint > GetMaxMemory()) { in SetIdealFootprint()
3720 VLOG(gc) << "Clamp target GC heap from " << PrettySize(target_footprint) << " to " in SetIdealFootprint()
3722 target_footprint = GetMaxMemory(); in SetIdealFootprint()
3724 target_footprint_.store(target_footprint, std::memory_order_relaxed); in SetIdealFootprint()
3800 size_t target_footprint = target_footprint_.load(std::memory_order_relaxed); in GrowForUtilization() local
3804 bytes_allocated <= (IsGcConcurrent() ? concurrent_start_bytes_ : target_footprint)) { in GrowForUtilization()
3811 if (bytes_allocated + adjusted_max_free < target_footprint) { in GrowForUtilization()
3815 target_size = std::max(bytes_allocated, target_footprint); in GrowForUtilization()
3854 size_t target_footprint = target_footprint_.load(std::memory_order_relaxed); in GrowForUtilization() local
3855 if (UNLIKELY(remaining_bytes > target_footprint)) { in GrowForUtilization()
3859 remaining_bytes = std::min(kMinConcurrentRemainingBytes, target_footprint); in GrowForUtilization()
3865 concurrent_start_bytes_ = std::max(target_footprint - remaining_bytes, bytes_allocated); in GrowForUtilization()
4716 size_t target_footprint = heap->target_footprint_.load(std::memory_order_relaxed); in Run() local
4717 if (target_footprint > new_target_sz_) { in Run()
4718 if (heap->target_footprint_.CompareAndSetStrongRelaxed(target_footprint, new_target_sz_)) { in Run()