< prev index next >
src/share/vm/gc/shared/referenceProcessorPhaseTimes.cpp
Print this page
rev 13070 : [mq]: webrev.0a
rev 13071 : [mq]: webrev.1
*** 90,100 ****
indent == 0 ? "" : ":", /* 0 indent logs don't need colon. */
phase_time);
if (phase_times()->processing_is_mt() && log.is_level(LogLevel::Trace)) {
outputStream* out = log.trace_stream();
! out->print("%s", " ");
// worker_time_sec is recorded in seconds but it will be printed in milliseconds.
phase_times()->worker_time_sec(phase)->print_summary_on(out, true);
}
}
}
--- 90,100 ----
indent == 0 ? "" : ":", /* 0 indent logs don't need colon. */
phase_time);
if (phase_times()->processing_is_mt() && log.is_level(LogLevel::Trace)) {
outputStream* out = log.trace_stream();
! out->print("%s", Indents[2]);
// worker_time_sec is recorded in seconds but it will be printed in milliseconds.
phase_times()->worker_time_sec(phase)->print_summary_on(out, true);
}
}
}
*** 189,199 ****
phase_times()->set_phase_time_ms(ReferenceProcessorPhaseTimes::RefEnqueue, elapsed);
print_phase(ReferenceProcessorPhaseTimes::RefEnqueue, 0);
phase_times()->reset();
! log_debug(gc, ref)(" Counts: Soft: " SIZE_FORMAT " Weak: " SIZE_FORMAT
" Final: " SIZE_FORMAT " Phantom: " SIZE_FORMAT ,
_stats.soft_count(), _stats.weak_count(),
_stats.final_count(), _stats.phantom_count());
}
--- 189,199 ----
phase_times()->set_phase_time_ms(ReferenceProcessorPhaseTimes::RefEnqueue, elapsed);
print_phase(ReferenceProcessorPhaseTimes::RefEnqueue, 0);
phase_times()->reset();
! log_debug(gc, ref)(" Ref Counts: Soft: " SIZE_FORMAT " Weak: " SIZE_FORMAT
" Final: " SIZE_FORMAT " Phantom: " SIZE_FORMAT ,
_stats.soft_count(), _stats.weak_count(),
_stats.final_count(), _stats.phantom_count());
}
< prev index next >