On Thu, 27 Feb 2025 23:23:07 GMT, Leonid Mesnik <lmes...@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 <lmes...@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