diff jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/services/JVMCICompilerFactory.java @ 23723:3db9e47b477a

simplified JVMCI compiler auto selection (JDK-8160730)
author Doug Simon <doug.simon@oracle.com>
date Sun, 03 Jul 2016 00:13:22 +0200
parents c61554b3f6df
children 6c8eaf47db9a
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/services/JVMCICompilerFactory.java	Sat Jul 02 01:00:54 2016 +0200
+++ b/jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/services/JVMCICompilerFactory.java	Sun Jul 03 00:13:22 2016 +0200
@@ -54,29 +54,6 @@
     }
 
     /**
-     * Constants denoting the relative precedence between two factories in terms of
-     * {@linkplain JVMCICompilerFactory#getAutoSelectionRelationTo(JVMCICompilerFactory) auto
-     * selecting} which factory to use.
-     */
-    public enum AutoSelectionPrecedence {
-        UNRELATED,
-        HIGHER,
-        LOWER;
-    }
-
-    /**
-     * Gets the precedence of factory relative to another factory in terms of selecting which
-     * factory to use in absence of information (such as a system property) specifying a specific
-     * factory.
-     *
-     * @param other a factory guaranteed to have a different concrete type than this factory
-     * @return the precedence of selecting this factory over {@code other}
-     */
-    public AutoSelectionPrecedence getAutoSelectionRelationTo(JVMCICompilerFactory other) {
-        return AutoSelectionPrecedence.UNRELATED;
-    }
-
-    /**
      * Get the name of this compiler. The name is used by JVMCI to determine which factory to use.
      */
     public abstract String getCompilerName();