< prev index next >

src/share/vm/jvmci/jvmciCompiler.cpp

Print this page

        

*** 187,196 **** --- 187,205 ---- assert(false, "JVMCICompiler.compileMethod should always return non-null"); } } } + CompLevel JVMCIRuntime::adjust_comp_level(methodHandle method, bool is_osr, CompLevel level, JavaThread* thread) { + if (!thread->adjusting_comp_level()) { + thread->set_adjusting_comp_level(true); + level = adjust_comp_level_inner(method, is_osr, level, thread); + thread->set_adjusting_comp_level(false); + } + return level; + } + /** * Aborts the VM due to an unexpected exception. */ void JVMCICompiler::abort_on_pending_exception(Handle exception, const char* message, bool dump_core) { Thread* THREAD = Thread::current();
< prev index next >