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

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

Issue 1483963004: Revert 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 3386b83272bfdb8572d86568fac4e3e2b3258e3a..cf3b3a68c03f730a1b0773ba6a50011f55aa33cf 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -326,6 +326,10 @@
kClearMarkbits,
};
+ class EvacuateNewSpaceVisitor;
+ class EvacuateOldSpaceVisitor;
+ class HeapObjectVisitor;
+
static void Initialize();
void SetUp();
@@ -413,6 +417,8 @@
AllocationSpace to_old_space,
SlotsBuffer** evacuation_slots_buffer);
+ bool TryPromoteObject(HeapObject* object, int object_size);
+
void InvalidateCode(Code* code);
void ClearMarkbits();
@@ -510,10 +516,6 @@
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