Skip to content
Closed
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ public static HotSpotJVMCIRuntime runtime() {
// Can only do eager initialization of the JVMCI compiler
// once the singleton instance is available.
if (result.config.getFlag("EagerJVMCI", Boolean.class)) {
result.getCompiler();
// EagerJVMCI only applies to JVMCI when used by the CompileBroker.
if (result.getCompilerToVM().isCompilerThread()) {
result.getCompiler();
}
}
}
// Ensures JVMCIRuntime::_HotSpotJVMCIRuntime_instance is
Expand Down