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

Unified Diff: runtime/vm/heap.cc

Issue 1811613002: Timeline API fixes for Flutter (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/flow_graph_type_propagator.cc ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.cc
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
index b34af5460018d38e35ee9d4169ff90816a319dd3..6120f0c2fccb3f732a66c8978aa18111a6dcc13c 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -369,7 +369,7 @@ void Heap::CollectNewSpaceGarbage(Thread* thread,
VMTagScope tagScope(thread, VMTag::kGCNewSpaceTagId);
#ifndef PRODUCT
TimelineDurationScope tds(thread,
- isolate()->GetGCStream(),
+ Timeline::GetGCStream(),
"CollectNewGeneration");
#endif // !PRODUCT
UpdateClassHeapStatsBeforeGC(kNew);
@@ -396,7 +396,7 @@ void Heap::CollectOldSpaceGarbage(Thread* thread,
VMTagScope tagScope(thread, VMTag::kGCOldSpaceTagId);
#ifndef PRODUCT
TimelineDurationScope tds(thread,
- isolate()->GetGCStream(),
+ Timeline::GetGCStream(),
"CollectOldGeneration");
#endif // !PRODUCT
UpdateClassHeapStatsBeforeGC(kOld);
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698