[heap] Do not print isoalte address twice in --trace-gc-nvp.
Review URL: https://codereview.chromium.org/1416273003 Cr-Commit-Position: refs/heads/master@{#31478}
This commit is contained in:
parent
317e80218e
commit
1c4192ab8c
@ -401,7 +401,7 @@ void GCTracer::PrintNVP() const {
|
||||
switch (current_.type) {
|
||||
case Event::SCAVENGER:
|
||||
PrintIsolate(heap_->isolate(),
|
||||
"[I:%p] %8.0f ms: "
|
||||
"%8.0f ms: "
|
||||
"pause=%.1f "
|
||||
"mutator=%.1f "
|
||||
"gc=%s "
|
||||
@ -415,14 +415,22 @@ void GCTracer::PrintNVP() const {
|
||||
"object_groups=%.2f "
|
||||
"steps_count=%d "
|
||||
"steps_took=%.1f "
|
||||
"scavenge_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 "
|
||||
"scavenge_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 "
|
||||
@ -430,13 +438,11 @@ 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),
|
||||
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],
|
||||
@ -462,7 +468,7 @@ void GCTracer::PrintNVP() const {
|
||||
case Event::MARK_COMPACTOR:
|
||||
case Event::INCREMENTAL_MARK_COMPACTOR:
|
||||
PrintIsolate(heap_->isolate(),
|
||||
"[I:%p] %8.0f ms: "
|
||||
"%8.0f ms: "
|
||||
"pause=%.1f "
|
||||
"mutator=%.1f "
|
||||
"gc=%s "
|
||||
@ -528,8 +534,8 @@ void GCTracer::PrintNVP() const {
|
||||
"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),
|
||||
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_FINISH_INCREMENTAL],
|
||||
|
Loading…
Reference in New Issue
Block a user