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 0c411f7b4c2e71bbaecf8d0e5cd9a3bcffa08953..905514c4bf51c7884543ad7e269ac5c8328f55b5 100644 |
--- a/src/heap/gc-idle-time-handler.cc |
+++ b/src/heap/gc-idle-time-handler.cc |
@@ -146,6 +146,7 @@ GCIdleTimeAction GCIdleTimeHandler::Compute(double idle_time_in_ms, |
return GCIdleTimeAction::IncrementalStep(); |
} |
+bool GCIdleTimeHandler::Enabled() { return FLAG_incremental_marking; } |
} // namespace internal |
} // namespace v8 |