# HG changeset patch # User kvn # Date 1498170394 25200 # Node ID eb30f7891baeb7779b276fe646a651ce6572a77c # Parent beb2c322626de17a6c3c17a0b620b2ef53ae6086 8181113: jaotc options lost after 8177046 Reviewed-by: iveresov, dlong diff -r beb2c322626d -r eb30f7891bae hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/Main.java --- a/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/Main.java Thu Jun 22 13:59:00 2017 -0700 +++ b/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/Main.java Thu Jun 22 15:26:34 2017 -0700 @@ -445,7 +445,7 @@ if (!TieredAOT.hasBeenSet(graalOptions)) { graalOptions = new OptionValues(graalOptions, TieredAOT, options.tiered); } - graalOptions = new OptionValues(HotSpotGraalOptionValues.HOTSPOT_OPTIONS, GeneratePIC, true, ImmutableCode, true); + graalOptions = new OptionValues(graalOptions, GeneratePIC, true, ImmutableCode, true); GraalJVMCICompiler graalCompiler = HotSpotGraalCompilerFactory.createCompiler(JVMCI.getRuntime(), graalOptions, CompilerConfigurationFactory.selectFactory(null, graalOptions)); HotSpotGraalRuntimeProvider runtime = (HotSpotGraalRuntimeProvider) graalCompiler.getGraalRuntime(); HotSpotHostBackend backend = (HotSpotHostBackend) runtime.getCapability(RuntimeProvider.class).getHostBackend();