Index: src/heap/incremental-marking.cc |
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc |
index 6fd0d6cb04c56fc0c4fefc1143ecbbd8477ae191..22051eaab2d5793681dbd6ba3df3ccfd1495dfec 100644 |
--- a/src/heap/incremental-marking.cc |
+++ b/src/heap/incremental-marking.cc |
@@ -518,7 +518,8 @@ void IncrementalMarking::StartMarking() { |
PatchIncrementalMarkingRecordWriteStubs(heap_, mode); |
- heap_->mark_compact_collector()->EnsureMarkingDequeIsCommittedAndInitialize(); |
+ heap_->mark_compact_collector()->EnsureMarkingDequeIsCommittedAndInitialize( |
+ MarkCompactCollector::kMaxMarkingDequeSize); |
ActivateIncrementalWriteBarrier(); |