[9] RFR(S): 8061983: [TESTBUG] compiler/whitebox/MakeMethodNotCompilableTest.java fails with "must not be in queue"

Tobias Hartmann tobias.hartmann at oracle.com
Fri Oct 24 12:54:42 UTC 2014


please review the following patch.

Bug: https://bugs.openjdk.java.net/browse/JDK-8061983
Webrev: http://cr.openjdk.java.net/~thartmann/8061983/webrev.00/

In the failing case, the test makes a method not OSR compilable and tries to
trigger an OSR compilation. 'checkNotOsrCompiled' then fails because a (non-OSR)
compilation is in the compile queue. The test should not assume triggering an
OSR compilation of a method may not also trigger a non-OSR compilation.

I added a method checkNotCompiled(boolean isOsr) to either check if the method
is OSR compiled or to check if it is non-OSR compiled. The method waits for
background compilation and then checks.

Failing testcase with different parameters.


More information about the hotspot-compiler-dev mailing list