Home
last modified time | relevance | path

Searched refs:target_size (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dmonitor_pool_test.cc95 size_t target_size = monitors.size() + 2*kMaxUsage; in TEST_F() local
96 while (monitors.size() < target_size) { in TEST_F()
/art/runtime/base/
Dhash_set_test.cc165 static constexpr size_t target_size = 5000; in TEST_F() local
174 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()
/art/runtime/gc/
Dheap.cc2900 size_t target_size = native_size / GetTargetHeapUtilization(); in UpdateMaxNativeFootprint() local
2901 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() local
2941 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 …]