mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8007221: G1: concurrent phase durations do not state the time units ("secs")
Add timer units to concurrent marking phases where the units were missing. Reviewed-by: jmasa, ysr
This commit is contained in:
parent
ceb2baae92
commit
fb8617f293
1 changed files with 3 additions and 3 deletions
|
@ -117,7 +117,7 @@ void ConcurrentMarkThread::run() {
|
|||
if (G1Log::fine()) {
|
||||
gclog_or_tty->date_stamp(PrintGCDateStamps);
|
||||
gclog_or_tty->stamp(PrintGCTimeStamps);
|
||||
gclog_or_tty->print_cr("[GC concurrent-root-region-scan-end, %1.7lf]",
|
||||
gclog_or_tty->print_cr("[GC concurrent-root-region-scan-end, %1.7lf secs]",
|
||||
scan_end - scan_start);
|
||||
}
|
||||
}
|
||||
|
@ -150,7 +150,7 @@ void ConcurrentMarkThread::run() {
|
|||
if (G1Log::fine()) {
|
||||
gclog_or_tty->date_stamp(PrintGCDateStamps);
|
||||
gclog_or_tty->stamp(PrintGCTimeStamps);
|
||||
gclog_or_tty->print_cr("[GC concurrent-mark-end, %1.7lf sec]",
|
||||
gclog_or_tty->print_cr("[GC concurrent-mark-end, %1.7lf secs]",
|
||||
mark_end_sec - mark_start_sec);
|
||||
}
|
||||
|
||||
|
@ -234,7 +234,7 @@ void ConcurrentMarkThread::run() {
|
|||
if (G1Log::fine()) {
|
||||
gclog_or_tty->date_stamp(PrintGCDateStamps);
|
||||
gclog_or_tty->stamp(PrintGCTimeStamps);
|
||||
gclog_or_tty->print_cr("[GC concurrent-cleanup-end, %1.7lf]",
|
||||
gclog_or_tty->print_cr("[GC concurrent-cleanup-end, %1.7lf secs]",
|
||||
cleanup_end_sec - cleanup_start_sec);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue