52 protected JVMCICompilerFactory() {
53 this(checkPermission());
54 }
55
56 /**
57 * Get the name of this compiler. The name is used by JVMCI to determine which factory to use.
58 */
59 public abstract String getCompilerName();
60
61 /**
62 * Notifies this object that it has been selected to {@linkplain #createCompiler(JVMCIRuntime)
63 * create} a compiler and it should now perform any heavy weight initialization that it deferred
64 * during construction.
65 */
66 public void onSelection() {
67 }
68
69 /**
70 * Create a new instance of a {@link JVMCICompiler}.
71 */
72 public abstract JVMCICompiler createCompiler(JVMCIRuntime runtime);
73 }
|
52 protected JVMCICompilerFactory() {
53 this(checkPermission());
54 }
55
56 /**
57 * Get the name of this compiler. The name is used by JVMCI to determine which factory to use.
58 */
59 public abstract String getCompilerName();
60
61 /**
62 * Notifies this object that it has been selected to {@linkplain #createCompiler(JVMCIRuntime)
63 * create} a compiler and it should now perform any heavy weight initialization that it deferred
64 * during construction.
65 */
66 public void onSelection() {
67 }
68
69 /**
70 * Create a new instance of a {@link JVMCICompiler}.
71 */
72 @SuppressWarnings("unexportedinapi")
73 public abstract JVMCICompiler createCompiler(JVMCIRuntime runtime);
74 }
|