| Index: runtime/vm/isolate.h
|
| diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
|
| index 39b4ce2bf74672d1651c8e2f2d53355f3400cc9c..7bb26a5cc192e5cb789c2f38387d56255af03f93 100644
|
| --- a/runtime/vm/isolate.h
|
| +++ b/runtime/vm/isolate.h
|
| @@ -14,6 +14,7 @@
|
| #include "vm/megamorphic_cache_table.h"
|
| #include "vm/random.h"
|
| #include "vm/store_buffer.h"
|
| +#include "vm/tags.h"
|
| #include "vm/timer.h"
|
|
|
| namespace dart {
|
| @@ -444,6 +445,12 @@ class Isolate : public BaseIsolate {
|
| return thread_state_;
|
| }
|
|
|
| + void ProfileInterrupt();
|
| +
|
| + VMTagCounters* vm_tag_counters() {
|
| + return &vm_tag_counters_;
|
| + }
|
| +
|
| #if defined(DEBUG)
|
| #define REUSABLE_HANDLE_SCOPE_ACCESSORS(object) \
|
| void set_reusable_##object##_handle_scope_active(bool value) { \
|
| @@ -471,6 +478,8 @@ class Isolate : public BaseIsolate {
|
| void BuildName(const char* name_prefix);
|
| void PrintInvokedFunctions();
|
|
|
| + void ProfileIdle();
|
| +
|
| template<class T> T* AllocateReusableHandle();
|
|
|
| static ThreadLocalKey isolate_key;
|
| @@ -522,6 +531,8 @@ class Isolate : public BaseIsolate {
|
| Mutex profiler_data_mutex_;
|
| InterruptableThreadState* thread_state_;
|
|
|
| + VMTagCounters vm_tag_counters_;
|
| +
|
| // Isolate list next pointer.
|
| Isolate* next_;
|
|
|
|
|