I'm running a Java program and I need to get how much time each it spent garbage collecting.
I found these 2 JVM flags:
-XX:+PrintGCApplicationConcurrentTime
-XX:+PrintGCApplicationStoppedTime
but I'm not being able to find information about it.
I suppose that PrintGCApplicationStoppedTime
prints for how long the application time was in a STW, however I am not sure about -XX:+PrintGCApplicationConcurrentTime
. Does it print for how long the application was executing concurrently with collection threads?
Thanks in advance.