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

Unified Diff: runtime/vm/isolate.h

Issue 1363033003: Make TimelineEventBlocks reclaimable (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index fd303176efebd55419cd3663c827405530c3c1f6..d32a6fbce8a2890382e9745fe7323b99129bb792 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -776,8 +776,7 @@ class Isolate : public BaseIsolate {
void LowLevelShutdown();
void Shutdown();
- // Assumes mutator is the only thread still in the isolate.
- void CloseAllTimelineBlocks();
+ void ReclaimTimelineBlocks();
void BuildName(const char* name_prefix);
void PrintInvokedFunctions();
@@ -983,6 +982,7 @@ REUSABLE_HANDLE_LIST(REUSABLE_FRIEND_DECLARATION)
friend class Scavenger; // VisitObjectPointers
friend class ServiceIsolate;
friend class Thread;
+ friend class Timeline;
DISALLOW_COPY_AND_ASSIGN(Isolate);
};
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/isolate.cc » ('j') | runtime/vm/thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698