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

Unified Diff: runtime/vm/thread_interrupter.cc

Issue 205713004: Add isolate tag-profile and better handling of errors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/thread_interrupter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread_interrupter.cc
diff --git a/runtime/vm/thread_interrupter.cc b/runtime/vm/thread_interrupter.cc
index d2858f71c74c1f2f1061d6fb6396c7da7baf298c..c15e05294255a6b93e86628c6b74ec1a8996d782 100644
--- a/runtime/vm/thread_interrupter.cc
+++ b/runtime/vm/thread_interrupter.cc
@@ -220,12 +220,7 @@ class ThreadInterrupterVisitIsolates : public IsolateVisitor {
ThreadInterrupterVisitIsolates() { }
void VisitIsolate(Isolate* isolate) {
ASSERT(isolate != NULL);
- InterruptableThreadState* state = isolate->thread_state();
- if (state == NULL) {
- return;
- }
- ASSERT(state->id != Thread::kInvalidThreadId);
- ThreadInterrupter::InterruptThread(state);
+ isolate->ProfileInterrupt();
}
};
« no previous file with comments | « runtime/vm/thread_interrupter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698