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

Unified Diff: runtime/vm/thread_registry.h

Issue 1533023002: - Make sure to prepare all threads for GC. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review comments. Created 5 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/vm/thread.cc ('k') | runtime/vm/thread_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread_registry.h
diff --git a/runtime/vm/thread_registry.h b/runtime/vm/thread_registry.h
index 628b7876667be85571ef91d907fdacdd2199cfce..555e51368bd2f54e26875af2a91c50f77aeb3de3 100644
--- a/runtime/vm/thread_registry.h
+++ b/runtime/vm/thread_registry.h
@@ -56,6 +56,7 @@ class ThreadRegistry {
Thread* Schedule(Isolate* isolate, bool is_mutator, bool bypass_safepoint);
void Unschedule(Thread* thread, bool is_mutator, bool bypass_safepoint);
void VisitObjectPointers(ObjectPointerVisitor* visitor, bool validate_frames);
+ void PrepareForGC();
private:
void AddThreadToActiveList(Thread* thread);
« no previous file with comments | « runtime/vm/thread.cc ('k') | runtime/vm/thread_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698