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

Unified Diff: runtime/vm/heap.h

Issue 16077018: Implemented an averaging object histogram in the vm. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 | runtime/vm/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
===================================================================
--- runtime/vm/heap.h (revision 23906)
+++ runtime/vm/heap.h (working copy)
@@ -212,7 +212,7 @@
intptr_t new_capacity_;
intptr_t old_used_;
intptr_t old_capacity_;
-
+ private:
DISALLOW_COPY_AND_ASSIGN(Data);
};
@@ -225,6 +225,7 @@
int64_t times_[kDataEntries];
intptr_t data_[kDataEntries];
+ private:
DISALLOW_COPY_AND_ASSIGN(GCStats);
};
@@ -239,6 +240,7 @@
void RecordBeforeGC(Space space, GCReason reason);
void RecordAfterGC();
void PrintStats();
+ void UpdateObjectHistogram();
// The different spaces used for allocation.
Scavenger* new_space_;
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698