Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit www.eclipse.org/openj9/docs

-XX:[+|-]EnableCPUMonitor

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.

Syntax

    -XX:[+|-]EnableCPUMonitor
Setting Effect Default
-XX:+EnableCPUMonitor Enable yes
-XX:-EnableCPUMonitor Disable

Explanation

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