src/hotspot/share/jvmci/jvmciRuntime.cpp
changeset 47796 47629b00daa9
parent 47785 5692c538ecef
child 48105 8d15b1369c7a
equal deleted inserted replaced
47795:5a69ba3a4fd1 47796:47629b00daa9
   819     JavaCalls::call_special(&result, receiver->klass(), vmSymbols::shutdown_method_name(), vmSymbols::void_method_signature(), &args, CHECK);
   819     JavaCalls::call_special(&result, receiver->klass(), vmSymbols::shutdown_method_name(), vmSymbols::void_method_signature(), &args, CHECK);
   820   }
   820   }
   821 }
   821 }
   822 
   822 
   823 CompLevel JVMCIRuntime::adjust_comp_level_inner(const methodHandle& method, bool is_osr, CompLevel level, JavaThread* thread) {
   823 CompLevel JVMCIRuntime::adjust_comp_level_inner(const methodHandle& method, bool is_osr, CompLevel level, JavaThread* thread) {
   824   JVMCICompiler* compiler = JVMCICompiler::instance(thread);
   824   JVMCICompiler* compiler = JVMCICompiler::instance(false, thread);
   825   if (compiler != NULL && compiler->is_bootstrapping()) {
   825   if (compiler != NULL && compiler->is_bootstrapping()) {
   826     return level;
   826     return level;
   827   }
   827   }
   828   if (!is_HotSpotJVMCIRuntime_initialized() || _comp_level_adjustment == JVMCIRuntime::none) {
   828   if (!is_HotSpotJVMCIRuntime_initialized() || _comp_level_adjustment == JVMCIRuntime::none) {
   829     // JVMCI cannot participate in compilation scheduling until
   829     // JVMCI cannot participate in compilation scheduling until