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()
2900 size_t target_size = native_size / GetTargetHeapUtilization(); in UpdateMaxNativeFootprint() local2901 if (target_size > native_size + max_free_) { in UpdateMaxNativeFootprint()2902 target_size = native_size + max_free_; in UpdateMaxNativeFootprint()2903 } else if (target_size < native_size + min_free_) { in UpdateMaxNativeFootprint()2904 target_size = native_size + min_free_; in UpdateMaxNativeFootprint()2906 native_footprint_gc_watermark_ = std::min(growth_limit_, target_size); in UpdateMaxNativeFootprint()2933 uint64_t target_size; in GrowForUtilization() local2941 target_size = bytes_allocated + delta * multiplier; in GrowForUtilization()2942 target_size = std::min(target_size, in GrowForUtilization()2944 target_size = std::max(target_size, in GrowForUtilization()[all …]