RFR: 8160121: [JVMCI] JvmciNotifyBootstrapFinishedEventTest.java failed NoClassDefFoundError: jdk/vm/ci/runtime/JVMCI

Doug Simon doug.simon at oracle.com
Thu Jun 23 15:55:47 UTC 2016


JVMCI cannot be initialized until after VM init phase 3 as it requires the jdk.vm.ci module to be available (phase 2) and ServiceLoader to be working (phase 3). This change moves the eager initialization of JVMCI (under the condition of !UseInterpreter || !BackgroundCompilation) to be after phase 3 as well as causing JVMCI compilations before phase 3 to be ignored.

Thanks to Tom for most of this code!

https://bugs.openjdk.java.net/browse/JDK-8160121
http://cr.openjdk.java.net/~dnsimon/8160121/

-Doug


More information about the hotspot-compiler-dev mailing list