equal
deleted
inserted
replaced
187 assert(false, "JVMCICompiler.compileMethod should always return non-null"); |
187 assert(false, "JVMCICompiler.compileMethod should always return non-null"); |
188 } |
188 } |
189 } |
189 } |
190 } |
190 } |
191 |
191 |
|
192 CompLevel JVMCIRuntime::adjust_comp_level(methodHandle method, bool is_osr, CompLevel level, JavaThread* thread) { |
|
193 if (!thread->adjusting_comp_level()) { |
|
194 thread->set_adjusting_comp_level(true); |
|
195 level = adjust_comp_level_inner(method, is_osr, level, thread); |
|
196 thread->set_adjusting_comp_level(false); |
|
197 } |
|
198 return level; |
|
199 } |
|
200 |
192 /** |
201 /** |
193 * Aborts the VM due to an unexpected exception. |
202 * Aborts the VM due to an unexpected exception. |
194 */ |
203 */ |
195 void JVMCICompiler::abort_on_pending_exception(Handle exception, const char* message, bool dump_core) { |
204 void JVMCICompiler::abort_on_pending_exception(Handle exception, const char* message, bool dump_core) { |
196 Thread* THREAD = Thread::current(); |
205 Thread* THREAD = Thread::current(); |