Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 4ef4c900b955b52ae03f425eda508d598785a9e6..d62f1db857141aee2cd9212634744f330ff97355 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -5377,7 +5377,7 @@ bool Heap::ShouldExpandOldGenerationOnSlowAllocation() { |
// The kSoftLimit means that incremental marking should be started soon. |
// The kHardLimit means that incremental marking should be started immediately. |
Heap::IncrementalMarkingLimit Heap::IncrementalMarkingLimitReached() { |
- if (!incremental_marking()->CanBeActivated() || |
+ if (!incremental_marking()->CanBeActivated() || always_allocate() || |
PromotedSpaceSizeOfObjects() <= |
IncrementalMarking::kActivationThreshold) { |
// Incremental marking is disabled or it is too early to start. |