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

Unified Diff: runtime/vm/isolate.cc

Issue 1402383003: Simplify timeline backend (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/isolate.h ('k') | runtime/vm/thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 33048344a5e8c83ce2d408c8f812f2d10bf6e5ec..f3854bc64110515b28b523e4f17142bcd651b8a9 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -1616,7 +1616,7 @@ void Isolate::LowLevelShutdown() {
set_message_handler(NULL);
// Before analyzing the isolate's timeline blocks- reclaim all cached blocks.
- ReclaimTimelineBlocks();
+ Timeline::ReclaimCachedBlocksFromThreads();
// Dump all timing data for the isolate.
if (FLAG_timing) {
@@ -1718,15 +1718,6 @@ void Isolate::Shutdown() {
}
-void Isolate::ReclaimTimelineBlocks() {
- TimelineEventRecorder* recorder = Timeline::recorder();
- if (recorder == NULL) {
- return;
- }
- thread_registry_->ReclaimTimelineBlocks();
-}
-
-
Dart_IsolateCreateCallback Isolate::create_callback_ = NULL;
Dart_IsolateInterruptCallback Isolate::interrupt_callback_ = NULL;
Dart_IsolateUnhandledExceptionCallback
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698