RFR: 8350820: OperatingSystemMXBean CpuLoad() methods return -1.0 on Windows

Kevin Walls kevinw at openjdk.org
Fri Feb 28 18:11:10 UTC 2025


On Thu, 27 Feb 2025 23:23:07 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> The problem was introduced by the 
> https://bugs.openjdk.org/browse/JDK-8336289
> 
> This pr just revert changes in src/jdk.management/windows/native/libmanagement_ext/OperatingSystemImpl.c
> 
> The test fix is going to be pushed separately (for easy backporting) bug https://bugs.openjdk.org/browse/JDK-8350818
> 
> I verified that updated tests failed (bean returns -1.0) and now passed, also run tier1-5 testing.

This should be a trivial change.  It is a simple backout.
We have both done some testing.

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

PR Comment: https://git.openjdk.org/jdk/pull/23832#issuecomment-2691260522


More information about the serviceability-dev mailing list