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

Unified Diff: runtime/vm/isolate.h

Issue 1113243002: Add the --steal-breakpoints flag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: switch branch Created 5 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
« no previous file with comments | « runtime/vm/debugger.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
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 6f8c417f16198b2e65f069ab529475e816065422..dbf4b51a979901eb3da21a512ad089d5d31dcb2f 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -669,6 +669,9 @@ class Isolate : public BaseIsolate {
Counters* counters() { return &counters_; }
+ // Handle service messages until we are told to resume execution.
+ void PauseEventHandler();
+
private:
Isolate();
explicit Isolate(Isolate* original);
@@ -774,6 +777,9 @@ class Isolate : public BaseIsolate {
// Isolate list next pointer.
Isolate* next_;
+ // Used to wake the isolate when it is in the pause event loop.
+ Monitor* pause_loop_monitor_;
+
// Reusable handles support.
#define REUSABLE_HANDLE_FIELDS(object) \
object* object##_handle_;
@@ -805,6 +811,8 @@ class Isolate : public BaseIsolate {
static Dart_EntropySource entropy_source_callback_;
static Dart_IsolateInterruptCallback vmstats_callback_;
+ static void WakePauseEventHandler(Dart_Isolate isolate);
+
// Manage list of existing isolates.
static void AddIsolateTolist(Isolate* isolate);
static void RemoveIsolateFromList(Isolate* isolate);
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698