Home
last modified time | relevance | path

Searched refs:TotalCapacity (Results 1 – 4 of 4) sorted by relevance

/external/v8/test/cctest/heap/
Dtest-heap.cc2338 old_capacity = new_space->TotalCapacity(); in TEST()
2340 new_capacity = new_space->TotalCapacity(); in TEST()
2343 old_capacity = new_space->TotalCapacity(); in TEST()
2345 new_capacity = new_space->TotalCapacity(); in TEST()
2349 old_capacity = new_space->TotalCapacity(); in TEST()
2351 new_capacity = new_space->TotalCapacity(); in TEST()
2359 old_capacity = new_space->TotalCapacity(); in TEST()
2361 new_capacity = new_space->TotalCapacity(); in TEST()
2365 old_capacity = new_space->TotalCapacity(); in TEST()
2369 new_capacity = new_space->TotalCapacity(); in TEST()
[all …]
/external/v8/src/heap/
Dspaces.cc1388 DCHECK(TotalCapacity() < MaximumCapacity()); in AllocateChunk()
1391 FLAG_semi_space_growth_factor * static_cast<int>(TotalCapacity())); in AllocateChunk()
1411 if (rounded_new_capacity < TotalCapacity() && in AllocateChunk()
2152 float pct = static_cast<float>(Available()) / TotalCapacity(); in AllocateChunk()
2154 TotalCapacity(), Available(), static_cast<int>(pct * 100)); in AllocateChunk()
Dspaces.h2688 intptr_t TotalCapacity() { in TotalCapacity() function
2761 bool IsAtMaximumCapacity() { return TotalCapacity() == MaximumCapacity(); } in IsAtMaximumCapacity()
Dheap.cc1506 if (new_space_.TotalCapacity() < new_space_.MaximumCapacity() && in CheckNewSpaceExpansionCriteria()
1507 survived_last_scavenge_ * 100 / new_space_.TotalCapacity() >= 10) { in CheckNewSpaceExpansionCriteria()
1513 } else if (new_space_.TotalCapacity() < new_space_.MaximumCapacity() && in CheckNewSpaceExpansionCriteria()
1514 survived_since_last_expansion_ > new_space_.TotalCapacity()) { in CheckNewSpaceExpansionCriteria()