This option relates to the information about the CPU usage of thread categories that is available with the com.ibm.lang.management.JvmCpuMonitorMXBean application programming interface.

Restriction: This option might not be supported in subsequent releases.


Setting Effect Default
-XX:+EnableCPUMonitor Enable yes
-XX:-EnableCPUMonitor Disable


The -XX:+EnableCPUMonitor option enables CPU monitoring, which allows a JMX bean to track CPU usage on a per thread basis and attributes the usage against different categories. For more information, see the JvmCpuMonitorMXBean interface in the com.ibm.lang.management API documentation.

To turn off CPU monitoring, set the -XX:-EnableCPUMonitor option on the command line.

See also