< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/services/HotSpotJVMCICompilerFactory.java

Print this page
rev 11371 : imported patch 8153362

@@ -49,10 +49,11 @@
      * <li>0 - no adjustment</li>
      * <li>1 - adjust based on declaring class of method</li>
      * <li>2 - adjust based on declaring class, name and signature of method</li>
      * </ul>
      */
+    @SuppressWarnings("unexportedinapi")
     public int getCompilationLevelAdjustment(HotSpotVMConfig config) {
         return config.compLevelAdjustmentNone;
     }
 
     /**

@@ -68,9 +69,10 @@
      * @param isOsr specifies if the compilation being scheduled in an OSR compilation
      * @param level the compilation level currently selected by the VM compilation policy
      * @return the compilation level to use for the compilation being scheduled (must be a valid
      *         {@code CompLevel} enum value)
      */
+    @SuppressWarnings("unexportedinapi")
     public int adjustCompilationLevel(HotSpotVMConfig config, Class<?> declaringClass, String name, String signature, boolean isOsr, int level) {
         throw new InternalError("Should not reach here");
     }
 }
< prev index next >