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

Unified Diff: runtime/vm/isolate.h

Issue 1270323002: Revert VM thread cleanup (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « runtime/vm/debugger_api_impl_test.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 0e02b05111c6df727efab0643c523e19de5a7552..c43a3fa7f5fa6c3075a8c8ec8e0bb5f50d77d6b2 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -747,14 +747,6 @@ class Isolate : public BaseIsolate {
mutator_thread_->set_zone(zone);
}
- static void KillIsolate(Isolate* isolate);
- static void KillAllIsolates();
-
- static void DisableIsolateCreation();
- static void EnableIsolateCreation();
-
- static int IsolateCount();
-
private:
friend class Dart; // Init, InitOnce, Shutdown.
@@ -931,14 +923,12 @@ class Isolate : public BaseIsolate {
static void WakePauseEventHandler(Dart_Isolate isolate);
// Manage list of existing isolates.
- static bool AddIsolateToList(Isolate* isolate);
+ static void AddIsolateTolist(Isolate* isolate);
static void RemoveIsolateFromList(Isolate* isolate);
static void CheckForDuplicateThreadState(InterruptableThreadState* state);
- // This monitor protects isolates_list_head_, and creation_enabled_.
- static Monitor* isolates_list_monitor_;
+ static Monitor* isolates_list_monitor_; // Protects isolates_list_head_
static Isolate* isolates_list_head_;
- static bool creation_enabled_;
#define REUSABLE_FRIEND_DECLARATION(name) \
friend class Reusable##name##HandleScope;
« no previous file with comments | « runtime/vm/debugger_api_impl_test.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698