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

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

Issue 1411713004: [heap] Add detailed timers to --trace-gc-nvp MC marking phase. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.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
Index: src/heap/gc-tracer.cc
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc
index 1b94ecac96f53f6d001d4b669c4aacaee699ee87..26321b7d6a356839b50a7f41e2daa18dc1279e20 100644
--- a/src/heap/gc-tracer.cc
+++ b/src/heap/gc-tracer.cc
@@ -469,6 +469,16 @@ void GCTracer::PrintNVP() const {
"reduce_memory=%d "
"external=%.1f "
"mark=%.1f "
+ "mark_inc=%.1f "
+ "mark_prepcodeflush=%.1f "
+ "mark_root=%.1f "
+ "mark_topopt=%.1f "
+ "mark_retainmaps=%.1f "
+ "mark_weakclosure=%.1f "
+ "mark_stringtable=%.1f "
+ "mark_weakrefs=%.1f "
+ "mark_globalhandles=%.1f "
+ "mark_codeflush=%.1f "
"sweep=%.2f "
"sweepns=%.2f "
"sweepos=%.2f "
@@ -492,14 +502,22 @@ void GCTracer::PrintNVP() const {
"steps_count=%d "
"steps_took=%.1f "
"longest_step=%.1f "
- "incremental_marking_throughput=%" V8_PTR_PREFIX "d "
- "total_size_before=%" V8_PTR_PREFIX "d "
- "total_size_after=%" V8_PTR_PREFIX "d "
- "holes_size_before=%" V8_PTR_PREFIX "d "
- "holes_size_after=%" V8_PTR_PREFIX "d "
- "allocated=%" V8_PTR_PREFIX "d "
- "promoted=%" V8_PTR_PREFIX "d "
- "semi_space_copied=%" V8_PTR_PREFIX "d "
+ "incremental_marking_throughput=%" V8_PTR_PREFIX
+ "d "
+ "total_size_before=%" V8_PTR_PREFIX
+ "d "
+ "total_size_after=%" V8_PTR_PREFIX
+ "d "
+ "holes_size_before=%" V8_PTR_PREFIX
+ "d "
+ "holes_size_after=%" V8_PTR_PREFIX
+ "d "
+ "allocated=%" V8_PTR_PREFIX
+ "d "
+ "promoted=%" V8_PTR_PREFIX
+ "d "
+ "semi_space_copied=%" V8_PTR_PREFIX
+ "d "
"nodes_died_in_new=%d "
"nodes_copied_in_new=%d "
"nodes_promoted=%d "
@@ -507,15 +525,23 @@ void GCTracer::PrintNVP() const {
"average_survival_ratio=%.1f%% "
"promotion_rate=%.1f%% "
"semi_space_copy_rate=%.1f%% "
- "new_space_allocation_throughput=%" V8_PTR_PREFIX "d "
+ "new_space_allocation_throughput=%" V8_PTR_PREFIX
+ "d "
"context_disposal_rate=%.1f\n",
- heap_->isolate(),
- heap_->isolate()->time_millis_since_init(),
- duration, spent_in_mutator,
- current_.TypeName(true),
- current_.reduce_memory,
- current_.scopes[Scope::EXTERNAL],
+ heap_->isolate(), heap_->isolate()->time_millis_since_init(),
+ duration, spent_in_mutator, current_.TypeName(true),
+ current_.reduce_memory, current_.scopes[Scope::EXTERNAL],
current_.scopes[Scope::MC_MARK],
+ current_.scopes[Scope::MC_MARK_INC],
+ current_.scopes[Scope::MC_MARK_PREPCODEFLUSH],
+ current_.scopes[Scope::MC_MARK_ROOT],
+ current_.scopes[Scope::MC_MARK_TOPOPT],
+ current_.scopes[Scope::MC_MARK_RETAINMAPS],
+ current_.scopes[Scope::MC_MARK_WEAKCLOSURE],
+ current_.scopes[Scope::MC_MARK_STRINGTABLE],
+ current_.scopes[Scope::MC_MARK_WEAKREFS],
+ current_.scopes[Scope::MC_MARK_GLOBALHANDLES],
+ current_.scopes[Scope::MC_MARK_CODEFLUSH],
current_.scopes[Scope::MC_SWEEP],
current_.scopes[Scope::MC_SWEEP_NEWSPACE],
current_.scopes[Scope::MC_SWEEP_OLDSPACE],
« src/heap/gc-tracer.h ('K') | « src/heap/gc-tracer.h ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698