Skip to content

Commit

Permalink
Improved a comment in CompilerThread.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Zezula committed Oct 31, 2024
1 parent e07d444 commit 7e0f1a4
Showing 1 changed file with 2 additions and 3 deletions.
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

0 comments on commit 7e0f1a4

Please sign in to comment.