Skip to content

Commit

Permalink
UseJVMCINativeLibrary check must be guarded by JVMCI_ONLY.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Zezula committed Oct 4, 2024
1 parent dfd7249 commit f687c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/compiler/compilerThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void CompilerThread::set_compiler(AbstractCompiler* c) {
* we need to enable Java calls for upcalls to the jargraal compiler.
* Java calls are also needed by InterpreterRuntime when running the jargraal compiler.
*/
_can_call_java = c != nullptr && c->is_jvmci() && !UseJVMCINativeLibrary;
_can_call_java = c != nullptr && c->is_jvmci() JVMCI_ONLY(&& !UseJVMCINativeLibrary);
_compiler = c;
}

Expand Down

0 comments on commit f687c82

Please sign in to comment.