| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index 53bd132ac0be4da9bc3241c4800e9ccc65dcd3d6..c85f10f22266bbf45f179f8d7b10fec883291612 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -677,9 +677,7 @@ void MarkCompactCollector::CollectEvacuationCandidates(PagedSpace* space) {
|
| int total_live_bytes = 0;
|
|
|
| bool reduce_memory =
|
| - reduce_memory_footprint_ ||
|
| - heap()->HasLowAllocationRate(
|
| - heap()->tracer()->CurrentAllocationThroughputInBytesPerMillisecond());
|
| + reduce_memory_footprint_ || heap()->HasLowAllocationRate();
|
| if (FLAG_manual_evacuation_candidates_selection) {
|
| for (size_t i = 0; i < pages.size(); i++) {
|
| Page* p = pages[i].second;
|
|
|