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

Unified Diff: runtime/vm/isolate.h

Issue 2999583002: Renames the isolate's mutator_thread_ to scheduled_mutator_thread_ (Closed)
Patch Set: Created 3 years, 4 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
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 6bbc04d0778a13c02acf3e4972f712a040bea699..437d37878ce54204a9df24e64af73f520a93a805 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -218,9 +218,7 @@ class Isolate : public BaseIsolate {
// Mutator thread is not scheduled if NULL or no heap is attached
// to it. The latter only occurs when the mutator thread object
// is unscheduled by the isolate (or never scheduled).
- bool IsMutatorThreadScheduled() {
- return mutator_thread_ != NULL && mutator_thread_->heap() != NULL;
- }
+ bool IsMutatorThreadScheduled() { return scheduled_mutator_thread_ != NULL; }
const char* name() const { return name_; }

Powered by Google App Engine
This is Rietveld 408576698