comparison jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/services/JVMCICompilerFactory.java @ 23379:24505bf61633

allow JVMCI compiler to change the compilation policy for a method (JDK-8152311)
author Doug Simon <doug.simon@oracle.com>
date Mon, 09 May 2016 16:08:16 +0200
parents 8153a654bd10
children cd8fd4cced6c
comparison
equal deleted inserted replaced
23378:b11f345e4af4 23379:24505bf61633
67 67
68 /** 68 /**
69 * Create a new instance of a {@link JVMCICompiler}. 69 * Create a new instance of a {@link JVMCICompiler}.
70 */ 70 */
71 public abstract JVMCICompiler createCompiler(JVMCIRuntime runtime); 71 public abstract JVMCICompiler createCompiler(JVMCIRuntime runtime);
72
73 /**
74 * In a tiered system it might be advantageous for startup to keep the JVMCI compiler from
75 * compiling itself so provide a hook to request that certain packages are compiled only by an
76 * optimizing first tier. The prefixes should class or package names using / as the separator,
77 * i.e. jdk/vm/ci for instance.
78 *
79 * @return 0 or more Strings identifying packages that should by compiled by the first tier
80 * only.
81 */
82 public String[] getTrivialPrefixes() {
83 return null;
84 }
85 } 72 }