Searched refs:target_size (Results 1 – 3 of 3) sorted by relevance
95 size_t target_size = monitors.size() + 2*kMaxUsage; in TEST_F() local96 while (monitors.size() < target_size) { in TEST_F()
165 static constexpr size_t target_size = 5000; in TEST_F() local174 size_t delta = std::abs(static_cast<ssize_t>(target_size) - in TEST_F()177 if (n % target_size == 0) { in TEST_F()182 } else if (n % target_size < delta) { in TEST_F()
3244 size_t target_size = native_size / GetTargetHeapUtilization(); in UpdateMaxNativeFootprint() local3245 if (target_size > native_size + max_free_) { in UpdateMaxNativeFootprint()3246 target_size = native_size + max_free_; in UpdateMaxNativeFootprint()3247 } else if (target_size < native_size + min_free_) { in UpdateMaxNativeFootprint()3248 target_size = native_size + min_free_; in UpdateMaxNativeFootprint()3250 native_footprint_gc_watermark_ = std::min(growth_limit_, target_size); in UpdateMaxNativeFootprint()3276 uint64_t target_size; in GrowForUtilization() local3286 target_size = bytes_allocated + delta * multiplier; in GrowForUtilization()3287 target_size = std::min(target_size, bytes_allocated + adjusted_max_free); in GrowForUtilization()3288 target_size = std::max(target_size, bytes_allocated + adjusted_min_free); in GrowForUtilization()[all …]