comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java @ 23781:276858bc6ac6

recast "JVMCI flags" language to "JVMCI system properties"
author Doug Simon <doug.simon@oracle.com>
date Wed, 05 Oct 2016 17:30:21 +0200
parents 4ae76f509448
children 1523f2f7832f
comparison
equal deleted inserted replaced
23780:4ae76f509448 23781:276858bc6ac6
172 public String getString() { 172 public String getString() {
173 return (String) getValue(); 173 return (String) getValue();
174 } 174 }
175 175
176 /** 176 /**
177 * Prints all option flags to {@code out}. 177 * Prints system properties used to configure shared JVMCI code.
178 * 178 *
179 * @param out stream to print to 179 * @param out stream to print to
180 */ 180 */
181 public static void printFlags(PrintStream out) { 181 public static void printSystemProperties(PrintStream out) {
182 out.println("[JVMCI system properties]"); 182 out.println("[JVMCI system properties]");
183 int typeWidth = 0; 183 int typeWidth = 0;
184 int nameWidth = 0; 184 int nameWidth = 0;
185 Option[] values = values(); 185 Option[] values = values();
186 for (Option option : values) { 186 for (Option option : values) {
309 compilationLevelAdjustment = config.compLevelAdjustmentNone; 309 compilationLevelAdjustment = config.compLevelAdjustmentNone;
310 } 310 }
311 311
312 if (config.getFlag("JVMCIPrintSystemProperties", Boolean.class)) { 312 if (config.getFlag("JVMCIPrintSystemProperties", Boolean.class)) {
313 PrintStream out = new PrintStream(getLogStream()); 313 PrintStream out = new PrintStream(getLogStream());
314 Option.printFlags(out); 314 Option.printSystemProperties(out);
315 compilerFactory.printFlags(out); 315 compilerFactory.printSystemProperties(out);
316 } 316 }
317 317
318 if (Option.PrintConfig.getBoolean()) { 318 if (Option.PrintConfig.getBoolean()) {
319 printConfig(configStore, compilerToVm); 319 printConfig(configStore, compilerToVm);
320 } 320 }