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

Unified Diff: runtime/vm/isolate.h

Issue 247713006: Object size on heap map hover. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/isolate.h
===================================================================
--- runtime/vm/isolate.h (revision 35314)
+++ runtime/vm/isolate.h (working copy)
@@ -10,6 +10,7 @@
#include "platform/thread.h"
#include "vm/base_isolate.h"
#include "vm/class_table.h"
+#include "vm/counters.h"
#include "vm/handles.h"
#include "vm/megamorphic_cache_table.h"
#include "vm/random.h"
@@ -492,6 +493,8 @@
void set_current_tag(const UserTag& tag);
void clear_current_tag();
+ Counters* counters() { return &counters_; }
+
#if defined(DEBUG)
#define REUSABLE_HANDLE_SCOPE_ACCESSORS(object) \
void set_reusable_##object##_handle_scope_active(bool value) { \
@@ -584,6 +587,8 @@
RawGrowableObjectArray* tag_table_;
RawUserTag* current_tag_;
+ Counters counters_;
+
// Isolate list next pointer.
Isolate* next_;
« runtime/vm/heap.cc ('K') | « runtime/vm/heap.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698