Index: src/heap/gc-idle-time-handler.cc |
diff --git a/src/heap/gc-idle-time-handler.cc b/src/heap/gc-idle-time-handler.cc |
index 068ff3364ab701fe1f83139570c9345648c1611b..19b7fb6c48ddde6dc75e40d0b120e60dfcd09af6 100644 |
--- a/src/heap/gc-idle-time-handler.cc |
+++ b/src/heap/gc-idle-time-handler.cc |
@@ -143,7 +143,7 @@ GCIdleTimeAction GCIdleTimeHandler::Compute(size_t idle_time_in_ms, |
return GCIdleTimeAction::FinalizeSweeping(); |
} |
- if (heap_state.incremental_marking_stopped && |
+ if (heap_state.incremental_marking_stopped || |
!heap_state.can_start_incremental_marking) { |
return GCIdleTimeAction::Nothing(); |
} |