RFR: 8367302: New test jdk/jfr/event/profiling/TestCPUTimeSampleQueueAutoSizes.java from JDK-8366082 is failing

Johannes Bechberger jbechberger at openjdk.org
Thu Sep 18 14:02:54 UTC 2025


On Mon, 15 Sep 2025 12:17:13 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

> This change hopefully fixes the test failures by making the test cases more resilient.

Thanks to the tips of @apangin I was able to drastically reduce both size and complexity of the test case. I hope it runs better now. What I improved

- Only use a single thread
- No arbitrary waits, just one native wait in the loop
- Properly documented the test scenario

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

PR Comment: https://git.openjdk.org/jdk/pull/27293#issuecomment-3307625621


More information about the hotspot-jfr-dev mailing list