< prev index next >

hotspot/src/share/vm/gc_implementation/shared/gcTraceTime.cpp

Print this page
rev 7125 : 7176220: 'Full GC' events miss date stamp information occasionally
Summary: Move date stamp logic into GCTraceTime
Reviewed-by: brutisso, tschatzl

*** 47,60 **** _timer->register_gc_phase_start(title, _start_counter); } if (_doit) { ! if (PrintGCTimeStamps) { ! gclog_or_tty->stamp(); ! gclog_or_tty->print(": "); ! } if (PrintGCID) { gclog_or_tty->print("#%u: ", gc_id.id()); } gclog_or_tty->print("[%s", title); gclog_or_tty->flush(); --- 47,58 ---- _timer->register_gc_phase_start(title, _start_counter); } if (_doit) { ! gclog_or_tty->date_stamp(PrintGCDateStamps); ! gclog_or_tty->stamp(PrintGCTimeStamps); if (PrintGCID) { gclog_or_tty->print("#%u: ", gc_id.id()); } gclog_or_tty->print("[%s", title); gclog_or_tty->flush();
< prev index next >