Searched refs:TotalCapacity (Results 1 – 4 of 4) sorted by relevance
2472 int TotalCapacity() { return total_capacity_; } in TotalCapacity() function2695 SLOW_DCHECK(to_space_.TotalCapacity() == from_space_.TotalCapacity()); in Capacity()2696 return (to_space_.TotalCapacity() / Page::kPageSize) * in Capacity()2702 intptr_t TotalCapacity() { in TotalCapacity() function2703 DCHECK(to_space_.TotalCapacity() == from_space_.TotalCapacity()); in TotalCapacity()2704 return to_space_.TotalCapacity(); in TotalCapacity()2750 bool IsAtMaximumCapacity() { return TotalCapacity() == MaximumCapacity(); } in IsAtMaximumCapacity()
1410 DCHECK(TotalCapacity() < MaximumCapacity()); in AllocateChunk()1413 FLAG_semi_space_growth_factor * static_cast<int>(TotalCapacity())); in AllocateChunk()1419 if (!to_space_.ShrinkTo(from_space_.TotalCapacity())) { in AllocateChunk()1431 if (TotalCapacity() == MaximumCapacity()) return false; in AllocateChunk()1432 int new_capacity = static_cast<int>(TotalCapacity()) + Page::kPageSize; in AllocateChunk()1440 if (!to_space_.ShrinkTo(from_space_.TotalCapacity())) { in AllocateChunk()1463 if (rounded_new_capacity < TotalCapacity() && in AllocateChunk()1470 if (!to_space_.GrowTo(from_space_.TotalCapacity())) { in AllocateChunk()1579 if ((to_space_.TotalCapacity() < to_space_.TargetCapacity()) && in AllocateChunk()2212 float pct = static_cast<float>(Available()) / TotalCapacity(); in AllocateChunk()[all …]
1515 if (new_space_.TotalCapacity() < new_space_.MaximumCapacity() && in CheckNewSpaceExpansionCriteria()1516 survived_last_scavenge_ * 100 / new_space_.TotalCapacity() >= 10) { in CheckNewSpaceExpansionCriteria()1522 } else if (new_space_.TotalCapacity() < new_space_.MaximumCapacity() && in CheckNewSpaceExpansionCriteria()1523 survived_since_last_expansion_ > new_space_.TotalCapacity()) { in CheckNewSpaceExpansionCriteria()
2302 old_capacity = new_space->TotalCapacity(); in TEST()2304 new_capacity = new_space->TotalCapacity(); in TEST()2307 old_capacity = new_space->TotalCapacity(); in TEST()2309 new_capacity = new_space->TotalCapacity(); in TEST()2313 old_capacity = new_space->TotalCapacity(); in TEST()2315 new_capacity = new_space->TotalCapacity(); in TEST()2323 old_capacity = new_space->TotalCapacity(); in TEST()2325 new_capacity = new_space->TotalCapacity(); in TEST()2329 old_capacity = new_space->TotalCapacity(); in TEST()2333 new_capacity = new_space->TotalCapacity(); in TEST()[all …]