[jdk21u-dev] RFR: 8351359: OperatingSystemMXBean: values from getCpuLoad and getProcessCpuLoad are stale after 24.8 days (Windows)

Voznia Anton duke at openjdk.org
Mon Oct 27 20:53:23 UTC 2025


Hi,

It's a clean backport of JDK-8351359.
Changes are related to Windows only.

Testing:
- manual testing code that calls `getProcessCpuLoad()` on windows server 2025, intel cpu
- OpenJDK GHA Sanity Checks

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

Commit messages:
 - Fix copyright year.
 - 8351359: OperatingSystemMXBean: values from getCpuLoad and getProcessCpuLoad are stale after 24.8 days (Windows)

Changes: https://git.openjdk.org/jdk21u-dev/pull/2263/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2263&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8351359
  Stats: 6 lines in 1 file changed: 2 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2263.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2263/head:pull/2263

PR: https://git.openjdk.org/jdk21u-dev/pull/2263


More information about the jdk-updates-dev mailing list