RFR: JDK-8290839: jdk/jfr/event/compiler/TestJitRestart.java failed with "RuntimeException: No JIT restart event found: expected true, was false" [v2]

Matthias Baesken mbaesken at openjdk.org
Wed Jul 27 13:13:25 UTC 2022


> In seldom cases the TestJitRestart.java JFR test failed because no Jitrestart event was seen in the test.
> Dean Long suggested to change the test a bit "How about changing the test to look at CodeCacheFull, compilation, and JitRestart events. It can test that no compilation events happen after CodeCacheFull unless a JitRestart comes first. So it would be testing the order of events and not absolute counts."
> 
> So I adjusted the test (still succeeds after a JitRestart is seen, but in case it is not seen only fails in case of Compilation events after CodeCacheFull).

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  sort events using StartTime

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9612/files
  - new: https://git.openjdk.org/jdk/pull/9612/files/9d9c77bb..8fa080cf

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9612&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9612&range=00-01

  Stats: 7 lines in 1 file changed: 7 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/9612.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9612/head:pull/9612

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


More information about the hotspot-jfr-dev mailing list