[jdk11u-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:57:42 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/jdk11u-dev/pull/3101/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3101&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/jdk11u-dev/pull/3101.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3101/head:pull/3101

PR: https://git.openjdk.org/jdk11u-dev/pull/3101


More information about the jdk-updates-dev mailing list