On Tue, 13 Apr 2021 02:00:24 GMT, Yasumasa Suenaga <ysuen...@openjdk.org> wrote:
> 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. This pull request has now been integrated. Changeset: e2106d5a Author: Yasumasa Suenaga <ysuen...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/e2106d5a Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 mod 8265104: CpuLoad and SystemCpuLoad in OperatingSystem MXBean returns -1.0 Reviewed-by: dholmes, sgehwolf ------------- PR: https://git.openjdk.java.net/jdk/pull/3447