Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/hotspot/share/compiler/compilerThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ CompilerThread::~CompilerThread() {

void CompilerThread::set_compiler(AbstractCompiler* c) {
/*
* For compiler threads using the JVMCI jargraal compiler,
* we need to enable Java calls for upcalls to the jargraal compiler.
* Java calls are also needed by InterpreterRuntime when running the jargraal compiler.
* Compiler threads need to make Java upcalls to the jargraal compiler.
* Java upcalls are also needed by the InterpreterRuntime when using jargraal.
*/
_can_call_java = c != nullptr && c->is_jvmci() JVMCI_ONLY(&& !UseJVMCINativeLibrary);
_compiler = c;
Expand Down