Index: src/heap/incremental-marking.cc |
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc |
index c250b90b1c99d260be6ae137d212ca02bc97db35..689eb6475927bdcd854ac0e22d31e5eef7f6a00f 100644 |
--- a/src/heap/incremental-marking.cc |
+++ b/src/heap/incremental-marking.cc |
@@ -547,6 +547,7 @@ void IncrementalMarking::StartMarking() { |
MarkCompactCollector::kMaxMarkingDequeSize); |
ActivateIncrementalWriteBarrier(); |
+ heap_->old_space()->ForAllPages([](Page* p) { p->ResetTracker(); }); |
Hannes Payer (out of office)
2016/05/20 12:21:17
Factor this line out into a function since you hav
Michael Lippautz
2016/05/23 08:41:01
Done.
|
// Marking bits are cleared by the sweeper. |
#ifdef VERIFY_HEAP |