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

Unified Diff: runtime/vm/isolate.h

Issue 2567193002: Added method to IsolateVisitor to check for special isolates (i.e., service / vm isolates) since th… (Closed)
Patch Set: Created 4 years 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/lib/vmservice.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 9fa436116570519ad2e35f6bf465a721c7923656..8202486384be6590e1b6b92b942880cac776bc54 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -91,6 +91,10 @@ class IsolateVisitor {
virtual void VisitIsolate(Isolate* isolate) = 0;
+ protected:
+ // Checks if an isolate is a vm or service isolate.
+ bool IsSpecialIsolate(Isolate* isolate) const;
Cutch 2016/12/12 22:47:26 Let's name it something like: IsVMInternalIsolate
bkonyi 2016/12/12 22:51:20 Done.
rmacnak 2016/12/12 22:51:38 Probably the kernel isolate too.
+
private:
DISALLOW_COPY_AND_ASSIGN(IsolateVisitor);
};
« no previous file with comments | « runtime/lib/vmservice.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698