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

Unified Diff: runtime/vm/gc_sweeper.cc

Issue 1177153005: Enables clean VM shutdown. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Kill isolates from the service isolate Created 5 years, 6 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/gc_sweeper.cc
diff --git a/runtime/vm/gc_sweeper.cc b/runtime/vm/gc_sweeper.cc
index 2b4ee58222014150a74493011907008f39c7a3e1..762b5eb3ac453f7afe2fdfef275e7c0397277678 100644
--- a/runtime/vm/gc_sweeper.cc
+++ b/runtime/vm/gc_sweeper.cc
@@ -164,8 +164,7 @@ void GCSweeper::SweepConcurrent(Isolate* isolate,
isolate->heap()->old_space(),
first, last,
freelist);
- ThreadPool* pool = Dart::thread_pool();
- pool->Run(task);
+ ThreadPool::Run(task);
}
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698