comparison jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/services/JVMCICompilerFactory.java @ 23777:6c8eaf47db9a

added -XX:+JVMCIPrintFlags to support printing of JVMCI flags without having to know how to trigger JVMCI initialization
author Doug Simon <doug.simon@oracle.com>
date Tue, 04 Oct 2016 22:14:32 +0200
parents 3db9e47b477a
children 276858bc6ac6
comparison
equal deleted inserted replaced
23776:450e0bafd83d 23777:6c8eaf47db9a
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23 package jdk.vm.ci.runtime.services; 23 package jdk.vm.ci.runtime.services;
24
25 import java.io.PrintStream;
24 26
25 import jdk.vm.ci.runtime.JVMCICompiler; 27 import jdk.vm.ci.runtime.JVMCICompiler;
26 import jdk.vm.ci.runtime.JVMCIRuntime; 28 import jdk.vm.ci.runtime.JVMCIRuntime;
27 import jdk.vm.ci.services.JVMCIPermission; 29 import jdk.vm.ci.services.JVMCIPermission;
28 30
68 70
69 /** 71 /**
70 * Create a new instance of a {@link JVMCICompiler}. 72 * Create a new instance of a {@link JVMCICompiler}.
71 */ 73 */
72 public abstract JVMCICompiler createCompiler(JVMCIRuntime runtime); 74 public abstract JVMCICompiler createCompiler(JVMCIRuntime runtime);
75
76 /**
77 * Prints a help message describing the flags supported by this compiler and how to set them.
78 *
79 * @param out where to print the message
80 */
81 public void printFlags(PrintStream out) {
82 }
73 } 83 }