Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index 5a4a1a7036739a6aa79154c924a182b72a7442f0..571ebacbb0994b8e5bf6685c4f784dd806eb804d 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; |