Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: src/heap/mark-compact.h

Issue 1441453002: Avoid manual object's body traversal in GC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments + removed HeapObject::ContentType() Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index c489eaf3f4eab443dab32620ac9509c2ba03dd26..fb562bf6876104ba42101902387b571c30bdc619 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -416,12 +416,6 @@ class MarkCompactCollector {
AllocationSpace to_old_space,
SlotsBuffer** evacuation_slots_buffer);
- void MigrateObjectTagged(HeapObject* dst, HeapObject* src, int size,
- SlotsBuffer** evacuation_slots_buffer);
- void MigrateObjectMixed(HeapObject* dst, HeapObject* src, int size,
- SlotsBuffer** evacuation_slots_buffer);
- void MigrateObjectRaw(HeapObject* dst, HeapObject* src, int size);
-
bool TryPromoteObject(HeapObject* object, int object_size);
void InvalidateCode(Code* code);
@@ -570,11 +564,12 @@ class MarkCompactCollector {
// After: Live objects are marked and non-live objects are unmarked.
friend class CodeMarkingVisitor;
+ friend class IncrementalMarkingMarkingVisitor;
friend class MarkCompactMarkingVisitor;
friend class MarkingVisitor;
+ friend class RecordMigratedSlotVisitor;
friend class RootMarkingVisitor;
friend class SharedFunctionInfoMarkingVisitor;
- friend class IncrementalMarkingMarkingVisitor;
// Mark code objects that are active on the stack to prevent them
// from being flushed.
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/mark-compact.cc » ('j') | src/heap/spaces.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698