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

Unified Diff: runtime/vm/compiler.h

Issue 1870753002: Clear background compilation queue and abort background compilation when stopping the background co… (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.h
diff --git a/runtime/vm/compiler.h b/runtime/vm/compiler.h
index 5bbc5554019732a578c99280f284ffa6d1fa2a83..ce7fdb8ac3223e87a15bc948ab73c4fb8c3de976 100644
--- a/runtime/vm/compiler.h
+++ b/runtime/vm/compiler.h
@@ -169,6 +169,7 @@ class BackgroundCompiler : public ThreadPool::Task {
void VisitPointers(ObjectPointerVisitor* visitor);
BackgroundCompilationQueue* function_queue() const { return function_queue_; }
+ bool is_running() const { return running_; }
private:
explicit BackgroundCompiler(Isolate* isolate);
« no previous file with comments | « no previous file | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698