Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index d515c474b446d1bd312a6dcdefd58bdbfb9ce9e0..c5e490643de32ce94526734fe58401cd66fd8984 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -801,6 +801,7 @@ void MarkCompactCollector::Prepare() { |
// Clear marking bits if incremental marking is aborted. |
if (was_marked_incrementally_ && heap_->ShouldAbortIncrementalMarking()) { |
heap()->incremental_marking()->Stop(); |
+ heap()->incremental_marking()->AbortBlackAllocation(); |
ClearMarkbits(); |
AbortWeakCollections(); |
AbortWeakCells(); |