Commit 22b931f8 authored by hpayer's avatar hpayer Committed by Commit bot

[heap] Also mark map when iterating black objects.

BUG=chromium:630386

Review-Url: https://codereview.chromium.org/2240123002
Cr-Commit-Position: refs/heads/master@{#38609}
parent 20e2ea80
......@@ -310,7 +310,9 @@ void IncrementalMarking::IterateBlackObject(HeapObject* object) {
// IterateBlackObject requires us to visit the whole object.
page->ResetProgressBar();
}
IncrementalMarkingMarkingVisitor::IterateBody(object->map(), object);
Map* map = object->map();
MarkGrey(heap_, map);
IncrementalMarkingMarkingVisitor::IterateBody(map, object);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment