jmx-dev Integrated: 8345684: OperatingSystemMXBean.getSystemCpuLoad() throws NPE

Fabian Meumertzheim duke at openjdk.org
Mon Dec 9 12:17:44 UTC 2024


On Fri, 6 Dec 2024 17:05:42 GMT, Fabian Meumertzheim <duke at openjdk.org> wrote:

> The return value of Metrics#getCpuSetCpus may change over time, including from non-null to null across the two calls in this method.

This pull request has now been integrated.

Changeset: d7ef3ac0
Author:    Fabian Meumertzheim <fabian at meumertzhe.im>
Committer: Kevin Walls <kevinw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d7ef3ac0b7e677c4901c69ad4361b5de8408e8d3
Stats:     7 lines in 1 file changed: 5 ins; 0 del; 2 mod

8345684: OperatingSystemMXBean.getSystemCpuLoad() throws NPE

Reviewed-by: dholmes, kevinw, sgehwolf

-------------

PR: https://git.openjdk.org/jdk/pull/22611


More information about the jmx-dev mailing list