A little to know about there:
First of all, itβs good that here from @apangin sums up that it PrintGCApplicationStoppedTimeprints time spent inside safepoints .
, :
-XX:+PrintSafepointStatistics -XX:PrintSafepointStatisticsCount=1
-, Java 9 Unified GC logging JEP # 271, JVM JEP # 158
, -Xlog JVM. , ():
-Xlog[:option]
option := [<what>][:[<output>][:[<decorators>][:<output-options>]]]
'help'
'disable'
what := <selector>[,...]
selector := <tag-set>[*][=<level>]
tag-set := <tag>[+...]
'all'
tag := name of tag
level := trace
debug
info
warning
error
output := 'stderr'
'stdout'
[file=]<filename>
decorators := <decorator>[,...]
'none'
decorator := time
uptime
timemillis
uptimemillis
timenanos
uptimenanos
pid
tid
level
tags
output-options := <output_option>[,...]
output-option := filecount=<file count>
filesize=<file size in kb>
parameter=value
, :
-Xlog:gc=trace:file=gctrace.txt:uptimemillis,pids:filecount=5,filesize=1024
- 'gc' 'trace'
5 1
'gctrace.txt' uptimemillis '' pid '
- 'warning' to 'stderr'
-Xlog:gc+rt+compiler*=debug,meta*=warning,svc*=off
- , "gc" "rt" "compiler"
"trace" "stdout",
"" "" ""
'svc'
- 'warning' to 'stderr'