RFR: 8304732: jdk/jfr/api/consumer/recordingstream/TestStop.java failed again with "Expected outer stream to have 3 events"

Erik Gahlin egahlin at openjdk.org
Tue Jun 18 14:57:46 UTC 2024


On Wed, 12 Jun 2024 20:41:27 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Could I have review of change that hopefully will fix intermittent failures for TestStop.java. I have run the test 20 000 times without a failure. If I remove the changed code, I can reproduce the failure.
> 
> Testing: jdk/jdk/jfr
> 
> Thanks
> Erik

The test failed after 50 000 runs. There are two issues, a chunk must have a unique timestamp (in milliseconds since epoch) and the parser must not exit if a stream barrier has been activated.

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

PR Comment: https://git.openjdk.org/jdk/pull/19681#issuecomment-2176309474


More information about the hotspot-jfr-dev mailing list