Skip to content

Commit

Permalink
Set __block_can_call_java to true for non compiler threads.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Zezula committed Oct 4, 2024
1 parent f687c82 commit 346f898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/jvmci/jvmciCompilerToVM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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); \
Expand Down

0 comments on commit 346f898

Please sign in to comment.