src/share/vm/gc_implementation/shared/gcTraceTime.cpp
Print this page
rev 4515 : 7176220: 'Full GC' events miss date stamp information occasionally
Summary: Move date stamp logic into GCTraceTime
Reviewed-by: johnc, brutisso, jmasa
*** 56,69 ****
_timer->register_gc_phase_start(title, _start_counter);
}
if (_doit) {
! if (PrintGCTimeStamps) {
! gclog_or_tty->stamp();
! gclog_or_tty->print(": ");
! }
gclog_or_tty->print("[%s", title);
gclog_or_tty->flush();
}
}
--- 56,67 ----
_timer->register_gc_phase_start(title, _start_counter);
}
if (_doit) {
! gclog_or_tty->date_stamp(PrintGCDateStamps);
! gclog_or_tty->stamp(PrintGCTimeStamps);
gclog_or_tty->print("[%s", title);
gclog_or_tty->flush();
}
}