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

Matthias Baesken mbaesken at openjdk.org
Mon Jun 16 13:27:33 UTC 2025


On Thu, 12 Jun 2025 09:40:23 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

> Tested in SAP's testing queue.

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 ?

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

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


More information about the hotspot-jfr-dev mailing list