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:05:12 UTC 2023


Could I have a review of a test fix?

The test fails intermittently because it's hard to guarantee that an object is being sampled. Fix is to repeat until one is found.

Testing: jdk/jdk/event/oldObject/TestArrayInformation.java

Thanks
Erik

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

Commit messages:
 - Initial

Changes: https://git.openjdk.org/jdk/pull/14467/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14467&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304835
  Stats: 21 lines in 1 file changed: 9 ins; 2 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/14467.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14467/head:pull/14467

PR: https://git.openjdk.org/jdk/pull/14467


More information about the hotspot-jfr-dev mailing list