Index: src/heap/mark-compact.h |
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h |
index 969ab11cf38e05efa7ad4a3cfe9a614a14a6494b..6a238839b18eb55d6139f1d83cc159a85343532c 100644 |
--- a/src/heap/mark-compact.h |
+++ b/src/heap/mark-compact.h |
@@ -40,11 +40,9 @@ class ObjectMarking : public AllStatic { |
return MarkBitFrom(reinterpret_cast<Address>(obj)); |
} |
-#ifdef DEBUG |
static Marking::ObjectColor Color(HeapObject* obj) { |
return Marking::Color(ObjectMarking::MarkBitFrom(obj)); |
} |
-#endif |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectMarking); |
@@ -514,6 +512,8 @@ class MarkCompactCollector { |
void VisitAllObjects(HeapObjectVisitor* visitor); |
+ void RecordObjectStats(); |
+ |
// Finishes GC, performs heap verification if enabled. |
void Finish(); |