diff --git a/src/hotspot/share/compiler/compilerThread.cpp b/src/hotspot/share/compiler/compilerThread.cpp index 86fcabd6efa13..e6329f3e65579 100644 --- a/src/hotspot/share/compiler/compilerThread.cpp +++ b/src/hotspot/share/compiler/compilerThread.cpp @@ -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;