RFR: 8269418: jdk/jfr/event/oldobject/TestObjectSize.java failed with "RuntimeException: No events: expected false, was true"

Markus Grönlund mgronlun at openjdk.java.net
Wed Jul 7 22:27:05 UTC 2021


Greetings,

please help review these adjustments to make the test more robust, i.e. not trap on invalid assertion and not timeout because of too many retries.

Testing: jdk_jfr (300 times)

Thanks
Markus

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

Commit messages:
 - Merge branch '8269418' of github.com:mgronlun/jdk into 8269418
 - remove assertion
 - speed up test
 - Event.hasEvents() is not a loop invariant

Changes: https://git.openjdk.java.net/jdk/pull/4712/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4712&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8269418
  Stats: 12 lines in 2 files changed: 2 ins; 6 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4712.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4712/head:pull/4712

PR: https://git.openjdk.java.net/jdk/pull/4712


More information about the hotspot-jfr-dev mailing list