Reputation: 77
i am new to Garbage Collector
i need to calculate suspension time of an application for different JVM using gc logs files , i done this for SUN using -XX:+PrintGCApplicationStoppedTime which gives me this output in log file
Total time for which application threads were stopped: 0.0012997 seconds
but for remaining JVM's
1.JRocket
2.IBM
i didn't find any flag's like SUN JVM
Please explain me to get this suspension time or stopped time of an application using any flag's or any other process to calculate for above JVM's
Upvotes: 1
Views: 169
Reputation: 279
To JRockit:
1. use JFR to record, which is much better than log
2. use java -Xverbose:gcpause=debug
Upvotes: 1