From 7e0f1a4227f388dc8e22e6200dc026f056d26eed Mon Sep 17 00:00:00 2001 From: Tomas Zezula Date: Thu, 31 Oct 2024 13:33:59 +0100 Subject: [PATCH] Improved a comment in CompilerThread. --- src/hotspot/share/compiler/compilerThread.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;