src/hotspot/share/jvmci/jvmciRuntime.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/hotspot/share/jvmci/jvmciRuntime.cpp	Tue Feb 27 08:50:11 2018
--- new/src/hotspot/share/jvmci/jvmciRuntime.cpp	Tue Feb 27 08:50:10 2018

*** 594,611 **** --- 594,613 ---- deopt_caller(); return value; JRT_END void JVMCIRuntime::force_initialization(TRAPS) { + Arguments::set_force_init_jvmci_runtime(true); JVMCIRuntime::initialize_well_known_classes(CHECK); ResourceMark rm; TempNewSymbol getCompiler = SymbolTable::new_symbol("getCompiler", CHECK); TempNewSymbol sig = SymbolTable::new_symbol("()Ljdk/vm/ci/runtime/JVMCICompiler;", CHECK); Handle jvmciRuntime = JVMCIRuntime::get_HotSpotJVMCIRuntime(CHECK); JavaValue result(T_OBJECT); JavaCalls::call_virtual(&result, jvmciRuntime, HotSpotJVMCIRuntime::klass(), getCompiler, sig, CHECK); + Arguments::set_force_init_jvmci_runtime(false); } // private static JVMCIRuntime JVMCI.initializeRuntime() JVM_ENTRY(jobject, JVM_GetJVMCIRuntime(JNIEnv *env, jclass c)) if (!EnableJVMCI) {

src/hotspot/share/jvmci/jvmciRuntime.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File