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

Matthias Baesken mbaesken at openjdk.org
Thu Jul 28 10:51:10 UTC 2022


On Fri, 22 Jul 2022 11:55:04 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 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).

This pull request has now been integrated.

Changeset: 5d1ad396
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5d1ad3968416f2d1740453825445a0deb295f5de
Stats:     23 lines in 1 file changed: 18 ins; 0 del; 5 mod

8290839: jdk/jfr/event/compiler/TestJitRestart.java failed with "RuntimeException: No JIT restart event found: expected true, was false"

Reviewed-by: egahlin, lucy

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

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


More information about the hotspot-jfr-dev mailing list