8166517: [JVMCI] export JVMCI to auto-detected JVMCI compiler

Reviewed-by: kvn, twisti
This commit is contained in:
Doug Simon 2016-09-27 04:48:51 -07:00
parent d3ef4d9c33
commit 25017eef2c

View File

@ -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