Display HotSpot Statistics for Oracle JVM

You can display HotSpot Statistics for the Oracle JVM by enabling the -XX:+PrintGCDetails -XX:+PrintGCTimeStamp –Xloggc:<gcfilename> option.

To display HotSpot Statistics for the Oracle JVM, enable the following option:

-XX:+PrintGCDetails -XX:+PrintGCTimeStamp –Xloggc:<gcfilename>

This displays the following:

0.000: [GC 0.001: [DefNew: 32192K->511K(33152K), 0.0383176 secs] 32192K->511K(101440K), 0.0385223 secs] 1.109: [GC 1.110: [DefNew: 32703K->198K(33152K), 0.0344874 secs] 32703K->697K(101440K), 0.0346844 secs]