-
Bug
-
Resolution: Fixed
-
P3
-
11.0.12, 15
-
b02
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8272145 | 11.0.14-oracle | Harold Seigel | P3 | Resolved | Fixed | b01 |
JDK-8268057 | 11.0.13 | Severin Gehwolf | P3 | Resolved | Fixed | b01 |
JDK-8269875 | openjdk8u312 | Severin Gehwolf | P3 | Resolved | Fixed | b02 |
JDK-8282584 | 8u341 | David Buck | P3 | Resolved | Fixed | b01 |
JDK-8284591 | 8u331 | Anton Litvinov | P3 | Resolved | Fixed | b31 |
JDK-8282707 | 8u321 | PAWAN CHAWDHARY | P3 | Closed | Fixed | b34 |
- a few CPUs are offline (means the configured cpus are 48 but the online cpus are 32)
- the machine does not have cpusets.effective_cpus
In this case getSystemCpuLoad() / getCpuLoad() returns -1 (because it checks that 48 != 32, and next it checks for cpusets.effective_cpus which is not present ).
See the coding at :
https://hg.openjdk.java.net/jdk/jdk/file/bdc14b8d31ff/src/jdk.management/unix/classes/com/sun/management/internal/OperatingSystemImpl.java#l136
- backported by
-
JDK-8268057 getSystemCpuLoad() returns -1 on linux when some offline cpus are present and cpusets.effective_cpus is not available
- Resolved
-
JDK-8269875 getSystemCpuLoad() returns -1 on linux when some offline cpus are present and cpusets.effective_cpus is not available
- Resolved
-
JDK-8272145 getSystemCpuLoad() returns -1 on linux when some offline cpus are present and cpusets.effective_cpus is not available
- Resolved
-
JDK-8282584 getSystemCpuLoad() returns -1 on linux when some offline cpus are present and cpusets.effective_cpus is not available
- Resolved
-
JDK-8284591 getSystemCpuLoad() returns -1 on linux when some offline cpus are present and cpusets.effective_cpus is not available
- Resolved
-
JDK-8282707 getSystemCpuLoad() returns -1 on linux when some offline cpus are present and cpusets.effective_cpus is not available
- Closed