mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-19 19:30:51 +00:00
8166517: [JVMCI] export JVMCI to auto-detected JVMCI compiler
Reviewed-by: kvn, twisti
This commit is contained in:
parent
d3ef4d9c33
commit
25017eef2c
@ -82,6 +82,7 @@ final class HotSpotJVMCICompilerConfig {
|
||||
// Auto select a single available compiler
|
||||
for (JVMCICompilerFactory f : Services.load(JVMCICompilerFactory.class)) {
|
||||
if (factory == null) {
|
||||
Services.exportJVMCITo(f.getClass());
|
||||
factory = f;
|
||||
} else {
|
||||
// Multiple factories seen - cancel auto selection
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user