提交 cf3b80b6 编写于 作者: S shade

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

Reviewed-by: phh, andrew
上级 386ce485
...@@ -537,6 +537,7 @@ void SafepointSynchronize::do_cleanup_tasks() { ...@@ -537,6 +537,7 @@ void SafepointSynchronize::do_cleanup_tasks() {
// rotate log files? // rotate log files?
if (UseGCLogFileRotation) { if (UseGCLogFileRotation) {
TraceTime t8("rotating gc logs", TraceSafepointCleanupTime);
gclog_or_tty->rotate_log(false); gclog_or_tty->rotate_log(false);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册