We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7cdb53 commit 3a223afCopy full SHA for 3a223af
src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java
@@ -186,7 +186,10 @@ public static HotSpotJVMCIRuntime runtime() {
186
// Can only do eager initialization of the JVMCI compiler
187
// once the singleton instance is available.
188
if (result.config.getFlag("EagerJVMCI", Boolean.class)) {
189
- result.getCompiler();
+ // EagerJVMCI only applies to JVMCI when used by the CompileBroker.
190
+ if (result.getCompilerToVM().isCompilerThread()) {
191
+ result.getCompiler();
192
+ }
193
}
194
195
// Ensures JVMCIRuntime::_HotSpotJVMCIRuntime_instance is
0 commit comments