I am running a Java program and I need to find out how much time they spent collecting garbage. I found these two JVM flags: -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime
but I can not find information about this. I believe that PrintGCApplicationStoppedTime prints how long the application has been in STW, however I'm not sure about -XX:+PrintGCApplicationConcurrentTime . Does it print how long the application ran at the same time as the collection threads?
Thanks in advance.
source share