jmx-dev RFR: 8345684: OperatingSystemMXBean.getSystemCpuLoad() throws NPE [v2]

Fabian Meumertzheim duke at openjdk.org
Fri Dec 6 18:02:53 UTC 2024


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

Fabian Meumertzheim has updated the pull request incrementally with one additional commit since the last revision:

  Add comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22611/files
  - new: https://git.openjdk.org/jdk/pull/22611/files/f7a442b3..30d1b03b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22611&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22611&range=00-01

  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/22611.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22611/head:pull/22611

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


More information about the jmx-dev mailing list