[jdk25] RFR: 8359135: New test TestCPUTimeSampleThrottling fails intermittently

Martin Doerr mdoerr at openjdk.org
Mon Jun 16 13:56:27 UTC 2025


On Mon, 16 Jun 2025 13:25:15 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> We got also this error from the test java.lang.RuntimeException: Expected between 0 and 3 events, got 0: expected true, was false at jdk.test.lib.Asserts.fail(Asserts.java:715) at jdk.test.lib.Asserts.assertTrue(Asserts.java:545) at jdk.jfr.event.profiling.TestCPUTimeSampleThrottling.testThrottleSettings(TestCPUTimeSampleThrottling.java:58) at jdk.jfr.event.profiling.TestCPUTimeSampleThrottling.main(TestCPUTimeSampleThrottling.java:47) 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:1474)
> 
> Should we fix this as well in this PR ? Or is a separate one planned ?

This is the clean JDK25 backport. We'll need a new issue.

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

PR Comment: https://git.openjdk.org/jdk/pull/25776#issuecomment-2976757345


More information about the hotspot-jfr-dev mailing list