mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -5945,7 +5945,6 @@ void CMSCollector::reset(bool concurrent) {
|
|||
}
|
||||
|
||||
void CMSCollector::do_CMS_operation(CMS_op_type op, GCCause::Cause gc_cause) {
|
||||
gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps);
|
||||
TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty);
|
||||
GCTraceTime t(GCCauseString("GC", gc_cause), PrintGC, !PrintGCDetails, NULL, _gc_tracer_cm->gc_id());
|
||||
TraceCollectorStats tcs(counters());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue