[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}
This commit is contained in:
parent
20e2ea80e1
commit
22b931f882
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user