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/libartbase/base/
Dhash_set_test.cc225 static constexpr size_t target_size = 5000; in TEST_F() local
234 size_t delta = std::abs(static_cast<ssize_t>(target_size) - in TEST_F()
237 if (n % target_size == 0) { in TEST_F()
242 } else if (n % target_size < delta) { in TEST_F()
/art/runtime/gc/
Dheap.cc3642 uint64_t target_size; in GrowForUtilization() local
3654 target_size = bytes_allocated + delta * multiplier; in GrowForUtilization()
3655 target_size = std::min(target_size, in GrowForUtilization()
3657 target_size = std::max(target_size, in GrowForUtilization()
3689 target_size = bytes_allocated + adjusted_max_free; in GrowForUtilization()
3691 target_size = std::max(bytes_allocated, target_footprint); in GrowForUtilization()
3694 CHECK_LE(target_size, std::numeric_limits<size_t>::max()); in GrowForUtilization()
3696 SetIdealFootprint(target_size); in GrowForUtilization()