jmx-dev Integrated: 8350820: OperatingSystemMXBean CpuLoad() methods return -1.0 on Windows

Leonid Mesnik lmesnik at openjdk.org
Fri Feb 28 18:16:59 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 pull request has now been integrated.

Changeset: 197004f4
Author:    Leonid Mesnik <lmesnik at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/197004f4c621d7ab4c8b9e48362973eaa18156a4
Stats:     30 lines in 1 file changed: 0 ins; 0 del; 30 mod

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

Reviewed-by: kevinw, jwaters

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

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


More information about the jmx-dev mailing list