Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index 413de743fc7d1ee1dbff489cc1743a69034fab3c..6003c97f9a24149bb59aaa03e11b816dc156eabc 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -117,6 +117,7 @@ bool IsolateMessageHandler::HandleMessage(Message* message) { |
// TODO(turnidge): Rework collection total dart execution. This can |
// overcount when other things (gc, compilation) are active. |
TIMERSCOPE(time_dart_execution); |
+ VMTagScope tagScope(VMTag::kScriptTagId, isolate_); |
// If the message is in band we lookup the receive port to dispatch to. If |
// the receive port is closed, we drop the message without deserializing it. |
@@ -332,6 +333,7 @@ Isolate::Isolate() |
object_id_ring_(NULL), |
profiler_data_(NULL), |
thread_state_(NULL), |
+ vm_tag_(VMTag::kVMTagId), |
next_(NULL), |
REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_INITIALIZERS) |
REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_SCOPE_INIT) |