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

Unified Diff: runtime/vm/heap.cc

Issue 2966333002: [vm] Fix flipped timeline event names for CollectNewGeneration and EvacuateNewGeneration. (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | no next file » | 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 042c37e4db8bdf7cc872765869dcbd941c911c0d..f73af75a691500ace737cf7f002409c86a3f3011 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -370,7 +370,7 @@ void Heap::EvacuateNewSpace(Thread* thread, GCReason reason) {
if (BeginNewSpaceGC(thread)) {
RecordBeforeGC(kNew, kFull);
VMTagScope tagScope(thread, VMTag::kGCNewSpaceTagId);
- TIMELINE_FUNCTION_GC_DURATION(thread, "CollectNewGeneration");
+ TIMELINE_FUNCTION_GC_DURATION(thread, "EvacuateNewGeneration");
NOT_IN_PRODUCT(UpdateClassHeapStatsBeforeGC(kNew));
new_space_.Evacuate();
NOT_IN_PRODUCT(isolate()->class_table()->UpdatePromoted());
@@ -390,7 +390,7 @@ void Heap::CollectNewSpaceGarbage(Thread* thread,
bool invoke_api_callbacks = (api_callbacks == kInvokeApiCallbacks);
RecordBeforeGC(kNew, reason);
VMTagScope tagScope(thread, VMTag::kGCNewSpaceTagId);
- TIMELINE_FUNCTION_GC_DURATION(thread, "EvacuateNewGeneration");
+ TIMELINE_FUNCTION_GC_DURATION(thread, "CollectNewGeneration");
NOT_IN_PRODUCT(UpdateClassHeapStatsBeforeGC(kNew));
new_space_.Scavenge(invoke_api_callbacks);
NOT_IN_PRODUCT(isolate()->class_table()->UpdatePromoted());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698