changeset 22810:f030fe549693

Rename UserCompiler option to HostedCompiler and add help.
author Roland Schatz <roland.schatz@oracle.com>
date Wed, 14 Oct 2015 13:04:22 +0200
parents 039dc66badf5
children 8b6879d1ba16
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotGraalRuntimeAccess.java
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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<String> UserCompiler = new OptionValue<>(null);
+        // @formatter:off
+        @Option(help = "Select a graal compiler for hosted compilation (default: use JVMCI system compiler).")
+        public static final OptionValue<String> 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();
     }