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

Unified Diff: src/heap/object-stats.h

Issue 2246473002: [heap] ObjectStats: Various new categories (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Various new categories Created 4 years, 4 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 | « src/flag-definitions.h ('k') | src/heap/object-stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/object-stats.h
diff --git a/src/heap/object-stats.h b/src/heap/object-stats.h
index 38c2070fcd532004b5ad6e97711464d8b8bc3550..4780696952064d54881727f15fc4ce4e2bc541ad 100644
--- a/src/heap/object-stats.h
+++ b/src/heap/object-stats.h
@@ -127,6 +127,8 @@ class ObjectStatsCollector {
void CollectStatistics(HeapObject* obj);
private:
+ class CompilationCacheTableVisitor;
+
void RecordBytecodeArrayDetails(BytecodeArray* obj);
void RecordCodeDetails(Code* code);
void RecordFixedArrayDetails(FixedArray* array);
@@ -136,6 +138,7 @@ class ObjectStatsCollector {
void RecordJSWeakCollectionDetails(JSWeakCollection* obj);
void RecordMapDetails(Map* map);
void RecordScriptDetails(Script* obj);
+ void RecordTemplateInfoDetails(TemplateInfo* obj);
void RecordSharedFunctionInfoDetails(SharedFunctionInfo* sfi);
bool RecordFixedArrayHelper(HeapObject* parent, FixedArray* array,
@@ -146,6 +149,8 @@ class ObjectStatsCollector {
void RecordHashTableHelper(HeapObject* parent, HashTable* array, int subtype);
Heap* heap_;
ObjectStats* stats_;
+
+ friend class ObjectStatsCollector::CompilationCacheTableVisitor;
};
} // namespace internal
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/object-stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698