Index: src/heap/gc-tracer.cc |
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc |
index 2b1f06acd7dbf1d54f8a2ca0bb96240e467a9adc..b1f63f7749deb8638a8fa1f5e382243df3f3dac2 100644 |
--- a/src/heap/gc-tracer.cc |
+++ b/src/heap/gc-tracer.cc |
@@ -476,74 +476,76 @@ void GCTracer::PrintNVP() const { |
switch (current_.type) { |
case Event::SCAVENGER: |
- PrintIsolate(heap_->isolate(), |
- "%8.0f ms: " |
- "pause=%.1f " |
- "mutator=%.1f " |
- "gc=%s " |
- "reduce_memory=%d " |
- "scavenge=%.2f " |
- "old_new=%.2f " |
- "weak=%.2f " |
- "roots=%.2f " |
- "code=%.2f " |
- "semispace=%.2f " |
- "object_groups=%.2f " |
- "external_prologue=%.2f " |
- "external_epilogue=%.2f " |
- "external_weak_global_handles=%.2f " |
- "steps_count=%d " |
- "steps_took=%.1f " |
- "scavenge_throughput=%.f " |
- "total_size_before=%" V8PRIdPTR |
- " " |
- "total_size_after=%" V8PRIdPTR |
- " " |
- "holes_size_before=%" V8PRIdPTR |
- " " |
- "holes_size_after=%" V8PRIdPTR |
- " " |
- "allocated=%" V8PRIdPTR |
- " " |
- "promoted=%" V8PRIdPTR |
- " " |
- "semi_space_copied=%" V8PRIdPTR |
- " " |
- "nodes_died_in_new=%d " |
- "nodes_copied_in_new=%d " |
- "nodes_promoted=%d " |
- "promotion_ratio=%.1f%% " |
- "average_survival_ratio=%.1f%% " |
- "promotion_rate=%.1f%% " |
- "semi_space_copy_rate=%.1f%% " |
- "new_space_allocation_throughput=%.1f " |
- "context_disposal_rate=%.1f\n", |
- heap_->isolate()->time_millis_since_init(), duration, |
- spent_in_mutator, current_.TypeName(true), |
- current_.reduce_memory, |
- current_.scopes[Scope::SCAVENGER_SCAVENGE], |
- current_.scopes[Scope::SCAVENGER_OLD_TO_NEW_POINTERS], |
- current_.scopes[Scope::SCAVENGER_WEAK], |
- current_.scopes[Scope::SCAVENGER_ROOTS], |
- current_.scopes[Scope::SCAVENGER_CODE_FLUSH_CANDIDATES], |
- current_.scopes[Scope::SCAVENGER_SEMISPACE], |
- current_.scopes[Scope::SCAVENGER_OBJECT_GROUPS], |
- current_.scopes[Scope::SCAVENGER_EXTERNAL_PROLOGUE], |
- current_.scopes[Scope::SCAVENGER_EXTERNAL_EPILOGUE], |
- current_.scopes[Scope::EXTERNAL_WEAK_GLOBAL_HANDLES], |
- current_.incremental_marking_steps, |
- current_.incremental_marking_duration, |
- ScavengeSpeedInBytesPerMillisecond(), |
- current_.start_object_size, current_.end_object_size, |
- current_.start_holes_size, current_.end_holes_size, |
- allocated_since_last_gc, heap_->promoted_objects_size(), |
- heap_->semi_space_copied_object_size(), |
- heap_->nodes_died_in_new_space_, |
- heap_->nodes_copied_in_new_space_, heap_->nodes_promoted_, |
- heap_->promotion_ratio_, AverageSurvivalRatio(), |
- heap_->promotion_rate_, heap_->semi_space_copied_rate_, |
- NewSpaceAllocationThroughputInBytesPerMillisecond(), |
- ContextDisposalRateInMilliseconds()); |
+ PrintIsolate( |
+ heap_->isolate(), |
+ "%8.0f ms: " |
+ "pause=%.1f " |
+ "mutator=%.1f " |
+ "gc=%s " |
+ "reduce_memory=%d " |
+ "scavenge=%.2f " |
+ "revive_marked_objects=%.2f " |
+ "old_new=%.2f " |
+ "weak=%.2f " |
+ "roots=%.2f " |
+ "code=%.2f " |
+ "semispace=%.2f " |
+ "object_groups=%.2f " |
+ "external_prologue=%.2f " |
+ "external_epilogue=%.2f " |
+ "external_weak_global_handles=%.2f " |
+ "steps_count=%d " |
+ "steps_took=%.1f " |
+ "scavenge_throughput=%.f " |
+ "total_size_before=%" V8PRIdPTR |
+ " " |
+ "total_size_after=%" V8PRIdPTR |
+ " " |
+ "holes_size_before=%" V8PRIdPTR |
+ " " |
+ "holes_size_after=%" V8PRIdPTR |
+ " " |
+ "allocated=%" V8PRIdPTR |
+ " " |
+ "promoted=%" V8PRIdPTR |
+ " " |
+ "semi_space_copied=%" V8PRIdPTR |
+ " " |
+ "nodes_died_in_new=%d " |
+ "nodes_copied_in_new=%d " |
+ "nodes_promoted=%d " |
+ "promotion_ratio=%.1f%% " |
+ "average_survival_ratio=%.1f%% " |
+ "promotion_rate=%.1f%% " |
+ "semi_space_copy_rate=%.1f%% " |
+ "new_space_allocation_throughput=%.1f " |
+ "context_disposal_rate=%.1f\n", |
+ heap_->isolate()->time_millis_since_init(), duration, |
+ spent_in_mutator, current_.TypeName(true), current_.reduce_memory, |
+ current_.scopes[Scope::SCAVENGER_SCAVENGE], |
+ current_.scopes[Scope::SCAVENGER_OBJECTS_MARKED_BY_MARK_COMPACT], |
+ current_.scopes[Scope::SCAVENGER_OLD_TO_NEW_POINTERS], |
+ current_.scopes[Scope::SCAVENGER_WEAK], |
+ current_.scopes[Scope::SCAVENGER_ROOTS], |
+ current_.scopes[Scope::SCAVENGER_CODE_FLUSH_CANDIDATES], |
+ current_.scopes[Scope::SCAVENGER_SEMISPACE], |
+ current_.scopes[Scope::SCAVENGER_OBJECT_GROUPS], |
+ current_.scopes[Scope::SCAVENGER_EXTERNAL_PROLOGUE], |
+ current_.scopes[Scope::SCAVENGER_EXTERNAL_EPILOGUE], |
+ current_.scopes[Scope::EXTERNAL_WEAK_GLOBAL_HANDLES], |
+ current_.incremental_marking_steps, |
+ current_.incremental_marking_duration, |
+ ScavengeSpeedInBytesPerMillisecond(), current_.start_object_size, |
+ current_.end_object_size, current_.start_holes_size, |
+ current_.end_holes_size, allocated_since_last_gc, |
+ heap_->promoted_objects_size(), |
+ heap_->semi_space_copied_object_size(), |
+ heap_->nodes_died_in_new_space_, heap_->nodes_copied_in_new_space_, |
+ heap_->nodes_promoted_, heap_->promotion_ratio_, |
+ AverageSurvivalRatio(), heap_->promotion_rate_, |
+ heap_->semi_space_copied_rate_, |
+ NewSpaceAllocationThroughputInBytesPerMillisecond(), |
+ ContextDisposalRateInMilliseconds()); |
break; |
case Event::MARK_COMPACTOR: |
case Event::INCREMENTAL_MARK_COMPACTOR: |