comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java @ 23780:4ae76f509448

removed redundancy in header of JVMCI system property listing
author Doug Simon <doug.simon@oracle.com>
date Wed, 05 Oct 2016 16:28:05 +0200
parents 16b5e00d9196
children 276858bc6ac6
comparison
equal deleted inserted replaced
23779:16b5e00d9196 23780:4ae76f509448
177 * Prints all option flags to {@code out}. 177 * Prints all option flags to {@code out}.
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 printFlags(PrintStream out) {
182 out.println("[List of 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) {
187 typeWidth = Math.max(typeWidth, option.type.getSimpleName().length()); 187 typeWidth = Math.max(typeWidth, option.type.getSimpleName().length());