Index: src/incremental-marking.cc |
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc |
index d0d3354b800e3eb5f228f7bde7a941bddef6ad9f..c0c03aa9ad6d9e9211ebc43ebe6b8c7cc3dc1a2f 100644 |
--- a/src/incremental-marking.cc |
+++ b/src/incremental-marking.cc |
@@ -353,7 +353,8 @@ bool IncrementalMarking::WorthActivating() { |
static const intptr_t kActivationThreshold = 0; |
#endif |
- return FLAG_incremental_marking && |
+ return !FLAG_expose_gc && |
+ FLAG_incremental_marking && |
!Serializer::enabled() && |
heap_->PromotedSpaceSize() > kActivationThreshold; |
} |