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

Unified Diff: runtime/vm/isolate.h

Issue 913503004: Per isolate Log with block support (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 765f88b1400ee526b83f718f522efb5c1c30ca44..1b92b93be2ab5c9302dc0fccdcc5aac431e0ea50 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -52,6 +52,7 @@ class IsolateProfilerData;
class IsolateSpawnState;
class InterruptableThreadState;
class Library;
+class Log;
class LongJumpScope;
class MessageHandler;
class Mutex;
@@ -167,6 +168,7 @@ class Isolate : public BaseIsolate {
}
const char* name() const { return name_; }
+ class Log* Log() const;
int64_t start_time() const { return start_time_; }
@@ -693,6 +695,10 @@ class Isolate : public BaseIsolate {
intptr_t defer_finalization_count_;
DeoptContext* deopt_context_;
+ // Log.
+ bool is_service_isolate_;
+ class Log* log_;
+
// Status support.
char* stacktrace_;
intptr_t stack_frame_index_;
@@ -769,6 +775,8 @@ class Isolate : public BaseIsolate {
REUSABLE_HANDLE_LIST(REUSABLE_FRIEND_DECLARATION)
#undef REUSABLE_FRIEND_DECLARATION
+ friend class Service;
+
DISALLOW_COPY_AND_ASSIGN(Isolate);
};
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698