hotspot/src/share/vm/jvmci/jvmciCompiler.cpp
changeset 46727 6e4a84748e2c
parent 46560 388aa8d67c80
equal deleted inserted replaced
46726:7801367e3cc9 46727:6e4a84748e2c
   192   if (_bootstrapping) {
   192   if (_bootstrapping) {
   193     _bootstrap_compilation_request_handled = true;
   193     _bootstrap_compilation_request_handled = true;
   194   }
   194   }
   195 }
   195 }
   196 
   196 
   197 CompLevel JVMCIRuntime::adjust_comp_level(methodHandle method, bool is_osr, CompLevel level, JavaThread* thread) {
   197 CompLevel JVMCIRuntime::adjust_comp_level(const methodHandle& method, bool is_osr, CompLevel level, JavaThread* thread) {
   198   if (!thread->adjusting_comp_level()) {
   198   if (!thread->adjusting_comp_level()) {
   199     thread->set_adjusting_comp_level(true);
   199     thread->set_adjusting_comp_level(true);
   200     level = adjust_comp_level_inner(method, is_osr, level, thread);
   200     level = adjust_comp_level_inner(method, is_osr, level, thread);
   201     thread->set_adjusting_comp_level(false);
   201     thread->set_adjusting_comp_level(false);
   202   }
   202   }