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

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

Issue 1494533002: Reland of [heap] Unify evacuating an object for new and old generation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | src/heap/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index cf3b3a68c03f730a1b0773ba6a50011f55aa33cf..3386b83272bfdb8572d86568fac4e3e2b3258e3a 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -326,10 +326,6 @@
kClearMarkbits,
};
- class EvacuateNewSpaceVisitor;
- class EvacuateOldSpaceVisitor;
- class HeapObjectVisitor;
-
static void Initialize();
void SetUp();
@@ -417,8 +413,6 @@
AllocationSpace to_old_space,
SlotsBuffer** evacuation_slots_buffer);
- bool TryPromoteObject(HeapObject* object, int object_size);
-
void InvalidateCode(Code* code);
void ClearMarkbits();
@@ -516,6 +510,10 @@
private:
class CompactionTask;
+ class EvacuateNewSpaceVisitor;
+ class EvacuateOldSpaceVisitor;
+ class EvacuateVisitorBase;
+ class HeapObjectVisitor;
class SweeperTask;
explicit MarkCompactCollector(Heap* heap);
« no previous file with comments | « no previous file | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698