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

Unified Diff: runtime/vm/isolate.cc

Issue 1814853005: Restructure/fix thread pointer visiting; added some asserts. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: update Created 4 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 | « no previous file | runtime/vm/thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index ac444bde4efe132af08fd622d97c7a6333a0e2b0..9299ddd6a270c0efa67f234917f7b6a6b81fcef6 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -2604,6 +2604,9 @@ void Isolate::UnscheduleThread(Thread* thread,
sticky_error_ = thread->sticky_error();
thread->clear_sticky_error();
}
+ } else {
+ ASSERT(thread->api_top_scope_ == NULL);
+ ASSERT(thread->zone_ == NULL);
}
if (!bypass_safepoint) {
// Ensure that the thread reports itself as being at a safepoint.
« no previous file with comments | « no previous file | runtime/vm/thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698