diff --git a/src/hotspot/share/jvmci/jvmciCompilerToVM.cpp b/src/hotspot/share/jvmci/jvmciCompilerToVM.cpp index 7b81ed4921216..d8358f747868b 100644 --- a/src/hotspot/share/jvmci/jvmciCompilerToVM.cpp +++ b/src/hotspot/share/jvmci/jvmciCompilerToVM.cpp @@ -190,7 +190,7 @@ Handle JavaArgumentUnboxer::next_arg(BasicType expectedType) { } else if (thread->is_Compiler_thread()) { \ __block_can_call_java = CompilerThread::cast(thread)->can_call_java(); \ } else { \ - __block_can_call_java = false; \ + __block_can_call_java = true; \ } \ CompilerThreadCanCallJava ccj(thread, __block_can_call_java); \ JVMCIENV_FROM_JNI(JVMCI::compilation_tick(thread), env); \