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

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

Issue 2147693004: [heap] ObjectStats: Fix accounting for fixed array subtypes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More fixed array types Created 4 years, 5 months 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 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();
« 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