8231398: Add time tracing for gc log rotation at safepoint cleanup

Thu, 31 Oct 2019 19:36:58 +0100

author
shade
date
Thu, 31 Oct 2019 19:36:58 +0100
changeset 9773
dc471edac21e
parent 9772
eee5798e1b28
child 9774
4a7da2a46cb1

8231398: Add time tracing for gc log rotation at safepoint cleanup
Reviewed-by: phh, andrew

src/share/vm/runtime/safepoint.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/runtime/safepoint.cpp	Mon Oct 28 13:29:09 2019 +0800
     1.2 +++ b/src/share/vm/runtime/safepoint.cpp	Thu Oct 31 19:36:58 2019 +0100
     1.3 @@ -537,6 +537,7 @@
     1.4  
     1.5    // rotate log files?
     1.6    if (UseGCLogFileRotation) {
     1.7 +    TraceTime t8("rotating gc logs", TraceSafepointCleanupTime);
     1.8      gclog_or_tty->rotate_log(false);
     1.9    }
    1.10  

mercurial