--- a/src/hotspot/share/runtime/thread.cpp Thu Mar 01 10:56:17 2018 +0100
+++ b/src/hotspot/share/runtime/thread.cpp Thu Mar 01 09:03:30 2018 -0800
@@ -3863,10 +3863,11 @@
#if INCLUDE_JVMCI
if (EnableJVMCI) {
- // Initialize JVMCI eagerly if JVMCIPrintProperties is enabled.
+ // Initialize JVMCI eagerly when it is explicitly requested.
+ // Or when JVMCIPrintProperties is enabled.
// The JVMCI Java initialization code will read this flag and
// do the printing if it's set.
- bool init = JVMCIPrintProperties;
+ bool init = EagerJVMCI || JVMCIPrintProperties;
if (!init) {
// 8145270: Force initialization of JVMCI runtime otherwise requests for blocking