[jdk11u-dev] Integrated: 8265836: OperatingSystemImpl.getCpuLoad() returns incorrect CPU load inside a container
Severin Gehwolf
sgehwolf at openjdk.java.net
Fri Jun 11 18:20:50 UTC 2021
On Tue, 8 Jun 2021 10:02:30 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> JDK-8265836 applies to OpenJDK 11u as well. Patch applies clean. The only difference is in context. JDK head changed method `getCpuLoad()` while the JDK 11u backport changes `getSystemCpuLoad()` as that name hasn't been changed when the OperatingSystemMXBean has been made container aware in 11u.
>
> Testing: Manual using the reproducer of the bug. See the backport bug for details.
This pull request has now been integrated.
Changeset: 37f36d5c
Author: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.java.net/jdk11u-dev/commit/37f36d5c46a7b6067143cfe924f62e477e6432d3
Stats: 90 lines in 4 files changed: 78 ins; 2 del; 10 mod
8265836: OperatingSystemImpl.getCpuLoad() returns incorrect CPU load inside a container
Backport-of: ef368b32bc8609bdc46cda628fa25e9bcad751e3
-------------
PR: https://git.openjdk.java.net/jdk11u-dev/pull/20
More information about the jdk-updates-dev
mailing list