Integrated: 8346875: Test jdk/jdk/jfr/event/os/TestCPULoad.java fails on macOS

Matthias Baesken mbaesken at openjdk.org
Fri Jan 17 08:01:49 UTC 2025


On Wed, 15 Jan 2025 14:02:55 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The test fails on some new Mac instances (macOS 14.5 (macOS aarch64) , CPU Apple M2) with :
> java.lang.AssertionError: Expected at least one event
> at jdk.jfr.event.os.TestCPULoad.main(TestCPULoad.java:62)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
> at java.base/java.lang.reflect.Method.invoke(Method.java:565)
> at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
> at java.base/java.lang.Thread.run(Thread.java:1447)
> 
> The current sleep value seems to be a bit too slow for those machines.  The issues occured (mostly) with fastdebug binaries.

This pull request has now been integrated.

Changeset: a3eef6c2
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a3eef6c2416eb0e02fbd154d84c98b12bcb66e97
Stats:     23 lines in 1 file changed: 19 ins; 1 del; 3 mod

8346875: Test jdk/jdk/jfr/event/os/TestCPULoad.java fails on macOS

Reviewed-by: egahlin

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

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


More information about the hotspot-jfr-dev mailing list