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

Unified Diff: runtime/vm/raw_object.h

Issue 51653006: Track live instance and allocation counts for classes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 8904f6d41bceb339a0f32d1f7cca29b1e26a19ba..2a03cba1513f810164c6d3acc18160e638a46fed 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -443,6 +443,7 @@ class RawObject {
friend class ExternalTypedData;
friend class Heap;
friend class HeapProfiler;
+ friend class ClassStatsVisitor;
friend class HeapProfilerRootVisitor;
friend class MarkingVisitor;
friend class Object;
@@ -452,6 +453,7 @@ class RawObject {
friend class RawInstance;
friend class RawTypedData;
friend class Scavenger;
+ friend class ScavengerVisitor;
friend class SnapshotReader;
friend class SnapshotWriter;
friend class String;
@@ -476,6 +478,7 @@ class RawClass : public RawObject {
RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); }
RawString* name_;
+ RawString* user_name_;
RawArray* functions_;
RawArray* fields_;
RawArray* offset_in_words_to_field_;

Powered by Google App Engine
This is Rietveld 408576698