< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/services/JVMCICompilerFactory.java

Print this page
rev 11371 : imported patch 8153362


  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 }
< prev index next >