Searched refs:TotalCapacity (Results 1 – 3 of 3) sorted by relevance
383 if (!CanExpandOldGeneration(new_space_->TotalCapacity())) { in SelectGarbageCollector()1927 if (new_space_->TotalCapacity() < new_space_->MaximumCapacity() && in CheckNewSpaceExpansionCriteria()1928 survived_last_scavenge_ * 100 / new_space_->TotalCapacity() >= 10) { in CheckNewSpaceExpansionCriteria()1934 } else if (new_space_->TotalCapacity() < new_space_->MaximumCapacity() && in CheckNewSpaceExpansionCriteria()1935 survived_since_last_expansion_ > new_space_->TotalCapacity()) { in CheckNewSpaceExpansionCriteria()2068 static_cast<int>(new_space()->TotalCapacity()) / MB; in NumberOfScavengeTasks()
2648 size_t TotalCapacity() { in TotalCapacity() function2721 bool IsAtMaximumCapacity() { return TotalCapacity() == MaximumCapacity(); } in IsAtMaximumCapacity()
2153 DCHECK(TotalCapacity() < MaximumCapacity()); in AllocateChunk()2156 static_cast<size_t>(FLAG_semi_space_growth_factor) * TotalCapacity()); in AllocateChunk()2176 if (rounded_new_capacity < TotalCapacity() && in AllocateChunk()