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

Unified Diff: runtime/vm/thread_registry.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
« 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 01f52a356ef3eea212075a2023e040b2330f5825..cf32f24f66e73ac88b787a3cce8cafc5608de01f 100644
--- a/runtime/vm/thread_registry.h
+++ b/runtime/vm/thread_registry.h
@@ -142,7 +142,7 @@ class ThreadRegistry {
void PruneThread(Thread* thread);
- void CloseAllTimelineBlocks();
+ void ReclaimTimelineBlocks();
struct Entry {
// NOTE: |thread| is deleted automatically when the thread exits.
@@ -184,10 +184,8 @@ class ThreadRegistry {
return NULL;
}
- // Close the timeline block cache inside entry.
// NOTE: Lock should be taken before this function is called.
- // NOTE: Recorder lock should be taken before this function is called.
- void CloseTimelineBlockLocked(Entry* entry);
+ void ReclaimTimelineBlockLocked(Entry* entry);
// Note: Lock should be taken before this function is called.
void CheckSafepointLocked();
« 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