mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8187315: [JVMCI] hosted use of JVMCI can crash VM under -Xint
Reviewed-by: kvn, dlong
This commit is contained in:
parent
614fca959b
commit
40cdb9fd60
4 changed files with 8 additions and 5 deletions
|
@ -821,7 +821,7 @@ void JVMCIRuntime::shutdown(TRAPS) {
|
|||
}
|
||||
|
||||
CompLevel JVMCIRuntime::adjust_comp_level_inner(const methodHandle& method, bool is_osr, CompLevel level, JavaThread* thread) {
|
||||
JVMCICompiler* compiler = JVMCICompiler::instance(thread);
|
||||
JVMCICompiler* compiler = JVMCICompiler::instance(false, thread);
|
||||
if (compiler != NULL && compiler->is_bootstrapping()) {
|
||||
return level;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue