RFR: Fix for JDK-8173119, compiler/jvmci/events/JvmciNotifyBootstrapFinishedEventTest.java fails with custom Tiered Level set externally

Christian Thalinger cthalinger at twitter.com
Wed Feb 15 21:46:14 UTC 2017

Sorry, I’m late to the party and I see there are many comments in the bug but I don’t agree with the fix.  Printing a warning is fine but setting:

+      TieredStopAtLevel = CompLevel_full_optimization;

because EnableJVMCI is turned on is just 	wrong.  It should be perfectly fine to run in tiered mode with a JVMCI compiler but limit compilations to a lower level.  It's not different than running with C2.

The issue at hand happens because the test is using +BootstrapJVMCI and (understandably) the test wants the bootstrap to happen.  I think the fix needs to be in the test.

> On Jan 31, 2017, at 8:17 PM, Oleg Pliss <Oleg.Pliss at oracle.com> wrote:
> http://cr.openjdk.java.net/~kvn/8173119/webrev/

More information about the hotspot-compiler-dev mailing list