Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit


This HotSpot option is recognized by OpenJ9 for compatibility. Use this option to override the number of CPUs that the VM automatically detects and uses when creating threads for various subsystems.



Where <n> is the number of CPUs.

Setting Value Default
<n> 1 or greater There is no default value. This option is not enabled by default. If set to 0, there is no effect.

When you set this option the following line in a Java dump file is updated to indicate the number of CPUs specified:


If this option is not set, the value for this line is 0 Active CPUs.