Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/services/JVMCICompilerFactory.java Tue Oct 04 22:02:07 2016 +0200 +++ b/jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/services/JVMCICompilerFactory.java Tue Oct 04 22:14:32 2016 +0200 @@ -22,6 +22,8 @@ */ package jdk.vm.ci.runtime.services; +import java.io.PrintStream; + import jdk.vm.ci.runtime.JVMCICompiler; import jdk.vm.ci.runtime.JVMCIRuntime; import jdk.vm.ci.services.JVMCIPermission; @@ -70,4 +72,12 @@ * Create a new instance of a {@link JVMCICompiler}. */ public abstract JVMCICompiler createCompiler(JVMCIRuntime runtime); + + /** + * Prints a help message describing the flags supported by this compiler and how to set them. + * + * @param out where to print the message + */ + public void printFlags(PrintStream out) { + } }