DescriptionAvoid manual object's body traversal in GC.
This CL introduces the following visitors:
1) RecordMigratedSlotVisitor which simplifies MarkCompactCollector::MigrateObject().
2) IteratePointersToFromSpaceVisitor which simplifies Heap::IteratePointersToFromSpace().
3) FindPointersToNewSpaceVisitor which simplifies StoreBuffer::IteratePointersToNewSpace().
These changes make the object's body descriptors the one and only place that knows how to traverse the object.
Committed: https://crrev.com/5ba9ea1802e5f88f8b54d30161869a3e905da182
Cr-Commit-Position: refs/heads/master@{#31992}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Addressing comments and rebasing #
Total comments: 6
Patch Set 3 : Addressed comments + removed HeapObject::ContentType() #
Total comments: 2
Depends on Patchset: Messages
Total messages: 26 (14 generated)
|