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

Unified Diff: src/heap/gc-tracer.cc

Issue 2504993002: [heap] Minor MC: Add evacuation phase (Closed)
Patch Set: Rebase Created 4 years, 1 month 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: src/heap/gc-tracer.cc
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc
index cf881c473b1d6d52bd7fdf5dd40a58aca7bb9bea..f17b306307a3cbbf260b1b545939ceb24d5153cf 100644
--- a/src/heap/gc-tracer.cc
+++ b/src/heap/gc-tracer.cc
@@ -512,11 +512,17 @@ void GCTracer::PrintNVP() const {
"reduce_memory=%d "
"mark=%.2f "
"mark.roots=%.2f "
- "mark.old_to_new=%.2f\n",
+ "mark.old_to_new=%.2f "
+ "evacuate=%.2f "
+ "evacuate.copy=%.2f "
+ "evacuate.update_pointers=%.2f\n",
duration, spent_in_mutator, "mmc", current_.reduce_memory,
current_.scopes[Scope::MINOR_MC_MARK],
current_.scopes[Scope::MINOR_MC_MARK_ROOTS],
- current_.scopes[Scope::MINOR_MC_MARK_OLD_TO_NEW_POINTERS]);
+ current_.scopes[Scope::MINOR_MC_MARK_OLD_TO_NEW_POINTERS],
+ current_.scopes[Scope::MC_EVACUATE],
+ current_.scopes[Scope::MC_EVACUATE_COPY],
+ current_.scopes[Scope::MC_EVACUATE_UPDATE_POINTERS]);
break;
case Event::MARK_COMPACTOR:
case Event::INCREMENTAL_MARK_COMPACTOR:
« no previous file with comments | « src/heap/gc-tracer.h ('k') | src/heap/heap.h » ('j') | src/heap/mark-compact.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698