jmx-dev Integrated: 8354407: Test com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java still fails on Windows
Kevin Walls
kevinw at openjdk.org
Thu May 1 16:08:50 UTC 2025
On Wed, 30 Apr 2025 11:13:53 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> This is hard to reproduce, and at first I'd only seen -1 returned on the first calls to mbean.getProcessCpuLoad().
> But eventually I observed a -1 at any time, including in middle of the iterations, or on the last iteration which makes the current test fail.
>
> Should fail on Windows only if we only ever see -1 returned from getProcessCpuLoad().
> Remove the "exclusiveAccess.dirs=." (JDK-8353231 adding "exclusiveAccess.dirs=." did not fix this.)
This pull request has now been integrated.
Changeset: 09cae5fd
Author: Kevin Walls <kevinw at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/09cae5fd8f228a8826e4de7aa43fe5365549c00c
Stats: 35 lines in 2 files changed: 5 ins; 24 del; 6 mod
8354407: Test com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java still fails on Windows
Reviewed-by: cjplummer, lmesnik
-------------
PR: https://git.openjdk.org/jdk/pull/24961
More information about the jmx-dev
mailing list