public interface ProcessorMXBean extends PlatformManagedObject
|
Modifier and Type | Method and Description |
---|---|
int |
getNumberBoundCPUs()
Returns the number of CPUs the process is bound to on the operating
system level.
|
int |
getNumberOnlineCPUs()
Returns the number of online CPUs as seen be the operating system
where the JVM is running.
|
int |
getNumberPhysicalCPUs()
Returns the number of physical CPUs as seen by the operating system
where the Java Virtual Machine is running.
|
int |
getNumberTargetCPUs()
Returns the target number of CPUs for the process.
|
void |
setNumberActiveCPUs(int number)
Sets the number of CPUs that the process is specified to use.
|
getObjectName
int getNumberPhysicalCPUs()
int getNumberOnlineCPUs()
int getNumberBoundCPUs()
int getNumberTargetCPUs()
getNumberBoundCPUs()
, but is overridden by active
CPUs when it is set, e.g. using setNumberActiveCPUs(int)
.void setNumberActiveCPUs(int number)
getNumberTargetCPUs()
.number
- The number of CPUs to specify the process to use. The process
will behave as if number
CPUs are available. If
this is set to 0, it will reset the number of CPUs specified
and the JVM will use the the number of CPUs detected on the system.Link to Eclipse OpenJ9 documentation.
To raise a bug report or suggest an improvement create an Eclipse Openj9 issue.
Copyright © 1993, 2020, IBM Corp. All rights reserved.