RFR: 8304835 jdk/jfr/event/oldobject/TestArrayInformation.java fails with "Could not find event with class ... as (leak) object"

Erik Gahlin egahlin at openjdk.org
Wed Jun 14 13:19:57 UTC 2023


On Wed, 14 Jun 2023 13:04:04 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> So now the "failing" test would timeout? This does not look right.
> 
> How many tries it usually takes to get a lucky sample? Take that estimate and do about 10x more iterations and fail, if still not found?

The test will timeout, not sure that is a problem. Looking at the log, it's obvious why. I don't know how many times are needed, so why not run as many as possible? This is the pattern we have used for other jfr tests.

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

PR Comment: https://git.openjdk.org/jdk/pull/14467#issuecomment-1591192165


More information about the hotspot-jfr-dev mailing list