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

Unified Diff: runtime/vm/thread.cc

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/thread.cc
diff --git a/runtime/vm/thread.cc b/runtime/vm/thread.cc
index 79ccec8fa0f1a59a947cf8ec8314f2d2e42b01ec..8968f58a1e9d87184fc4090565f7d2be1ce198a9 100644
--- a/runtime/vm/thread.cc
+++ b/runtime/vm/thread.cc
@@ -344,6 +344,7 @@ bool Thread::IsThreadInterrupterEnabled(ThreadInterruptCallback* callback,
void Thread::CloseTimelineBlock() {
turnidge 2015/09/24 17:05:52 Close -> Reclaim? (Note from offfline discussion:
Cutch 2015/09/24 18:14:16 This was unused and is now removed.
+ MutexLocker ml(timeline_block_lock());
if (timeline_block() != NULL) {
timeline_block()->Finish();
set_timeline_block(NULL);
« no previous file with comments | « runtime/vm/thread.h ('k') | runtime/vm/thread_registry.h » ('j') | runtime/vm/thread_registry.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698