# HG changeset patch # User Roland Schatz # Date 1444820662 -7200 # Node ID f030fe5496937cd8795be1e0dafde0ccef918239 # Parent 039dc66badf59b23c797332a8da23ca6a7a68d93 Rename UserCompiler option to HostedCompiler and add help. diff -r 039dc66badf5 -r f030fe549693 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotGraalRuntimeAccess.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotGraalRuntimeAccess.java Tue Oct 13 18:55:32 2015 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotGraalRuntimeAccess.java Wed Oct 14 13:04:22 2015 +0200 @@ -38,12 +38,15 @@ public class HotSpotGraalRuntimeAccess implements GraalRuntimeAccess { static class Options { - @Option(help = "") public static final OptionValue UserCompiler = new OptionValue<>(null); + // @formatter:off + @Option(help = "Select a graal compiler for hosted compilation (default: use JVMCI system compiler).") + public static final OptionValue HostedCompiler = new OptionValue<>(null); + // @formatter:on } @Override public GraalRuntime getRuntime() { - HotSpotGraalCompiler compiler = getCompiler(Options.UserCompiler.getValue()); + HotSpotGraalCompiler compiler = getCompiler(Options.HostedCompiler.getValue()); return compiler.getGraalRuntime(); }