mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
7176220: 'Full GC' events miss date stamp information occasionally
Move date stamp logic into GCTraceTime Reviewed-by: brutisso, tschatzl
This commit is contained in:
parent
0afc5ae6fc
commit
f65caabf9c
8 changed files with 2 additions and 11 deletions
|
@ -49,10 +49,8 @@ GCTraceTime::GCTraceTime(const char* title, bool doit, bool print_cr, GCTimer* t
|
|||
}
|
||||
|
||||
if (_doit) {
|
||||
if (PrintGCTimeStamps) {
|
||||
gclog_or_tty->stamp();
|
||||
gclog_or_tty->print(": ");
|
||||
}
|
||||
gclog_or_tty->date_stamp(PrintGCDateStamps);
|
||||
gclog_or_tty->stamp(PrintGCTimeStamps);
|
||||
if (PrintGCID) {
|
||||
gclog_or_tty->print("#%u: ", gc_id.id());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue