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

Voznia Anton duke at openjdk.org
Fri Feb 20 15:38:19 UTC 2026


On Mon, 22 Sep 2025 14:10:48 GMT, Voznia Anton <duke at openjdk.org> wrote:

> 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

Probably something wasn't stable in the test pipeline.
"Pre-submit tests - linux-x64 / build - Build / testFailing after 21m — 1/1 failed"

Because, before submitting this PR, I ran the tests in my fork, it was passed:
https://github.com/antonvoznia/jdk17u-dev/actions/runs/17910485691

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3983#issuecomment-3935630776


More information about the jdk-updates-dev mailing list