Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index e67e0b3983c5fb5762bdc14f2c2faca98696abc3..8415de1901d3944ea2713dc9cc59e15787941e19 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -4389,7 +4389,7 @@ void Heap::TryFinalizeIdleIncrementalMarking( |
double idle_time_in_ms, size_t size_of_objects, |
size_t final_incremental_mark_compact_speed_in_bytes_per_ms) { |
if (incremental_marking()->IsComplete() || |
- (mark_compact_collector()->IsMarkingDequeEmpty() && |
+ (incremental_marking()->IsMarkingDequeEmpty() && |
gc_idle_time_handler_.ShouldDoFinalIncrementalMarkCompact( |
static_cast<size_t>(idle_time_in_ms), size_of_objects, |
final_incremental_mark_compact_speed_in_bytes_per_ms))) { |