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

Unified Diff: runtime/vm/isolate.h

Issue 583583007: 1. Add user tag to the pointers traversed in the object store (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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 | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
===================================================================
--- runtime/vm/isolate.h (revision 40496)
+++ runtime/vm/isolate.h (working copy)
@@ -564,6 +564,9 @@
static intptr_t current_tag_offset() {
return OFFSET_OF(Isolate, current_tag_);
}
+ static intptr_t default_tag_offset() {
+ return OFFSET_OF(Isolate, default_tag_);
+ }
#define ISOLATE_METRIC_ACCESSOR(type, variable, name, unit) \
type* Get##variable##Metric() { return &metric_##variable##_; }
@@ -578,6 +581,9 @@
RawUserTag* current_tag() const { return current_tag_; }
void set_current_tag(const UserTag& tag);
+ RawUserTag* default_tag() const { return default_tag_; }
+ void set_default_tag(const UserTag& tag);
+
Metric* metrics_list_head() {
return metrics_list_head_;
}
@@ -691,6 +697,7 @@
uword user_tag_;
RawGrowableObjectArray* tag_table_;
RawUserTag* current_tag_;
+ RawUserTag* default_tag_;
Metric* metrics_list_head_;
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698