I got -1.0 from both CpuLoad and SystemCpuLoad in OperatingSystem MXBean when I run the application on Fedora 33 x64 which is installed cgroups V2.
 I do not run the application in the container, nor do not run with resource limitation on cgroups, so JMX should report CPU load on host value in this case. ------------- Commit messages: - 8265104: CpuLoad and SystemCpuLoad in OperatingSystem MXBean returns -1.0 Changes: https://git.openjdk.java.net/jdk/pull/3447/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3447&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8265104 Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/3447.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/3447/head:pull/3447 PR: https://git.openjdk.java.net/jdk/pull/3447