test/lib/sun/hotspot/WhiteBox.java
changeset 42532 4780f4130eb0
parent 42289 08548fd6e608
child 45614 519f5ef22d91
child 46194 5596e6f63072
equal deleted inserted replaced
42531:37ee95196b17 42532:4780f4130eb0
   227   public         boolean isMethodCompiled(Executable method, boolean isOsr){
   227   public         boolean isMethodCompiled(Executable method, boolean isOsr){
   228     Objects.requireNonNull(method);
   228     Objects.requireNonNull(method);
   229     return isMethodCompiled0(method, isOsr);
   229     return isMethodCompiled0(method, isOsr);
   230   }
   230   }
   231   public        boolean isMethodCompilable(Executable method) {
   231   public        boolean isMethodCompilable(Executable method) {
   232     return isMethodCompilable(method, -1 /*any*/);
   232     return isMethodCompilable(method, -2 /*any*/);
   233   }
   233   }
   234   public        boolean isMethodCompilable(Executable method, int compLevel) {
   234   public        boolean isMethodCompilable(Executable method, int compLevel) {
   235     return isMethodCompilable(method, compLevel, false /*not osr*/);
   235     return isMethodCompilable(method, compLevel, false /*not osr*/);
   236   }
   236   }
   237   private native boolean isMethodCompilable0(Executable method, int compLevel, boolean isOsr);
   237   private native boolean isMethodCompilable0(Executable method, int compLevel, boolean isOsr);
   275   public         int     deoptimizeMethod(Executable method, boolean isOsr) {
   275   public         int     deoptimizeMethod(Executable method, boolean isOsr) {
   276     Objects.requireNonNull(method);
   276     Objects.requireNonNull(method);
   277     return deoptimizeMethod0(method, isOsr);
   277     return deoptimizeMethod0(method, isOsr);
   278   }
   278   }
   279   public        void    makeMethodNotCompilable(Executable method) {
   279   public        void    makeMethodNotCompilable(Executable method) {
   280     makeMethodNotCompilable(method, -1 /*any*/);
   280     makeMethodNotCompilable(method, -2 /*any*/);
   281   }
   281   }
   282   public        void    makeMethodNotCompilable(Executable method, int compLevel) {
   282   public        void    makeMethodNotCompilable(Executable method, int compLevel) {
   283     makeMethodNotCompilable(method, compLevel, false /*not osr*/);
   283     makeMethodNotCompilable(method, compLevel, false /*not osr*/);
   284   }
   284   }
   285   private native void    makeMethodNotCompilable0(Executable method, int compLevel, boolean isOsr);
   285   private native void    makeMethodNotCompilable0(Executable method, int compLevel, boolean isOsr);
   299   public         boolean testSetDontInlineMethod(Executable method, boolean value) {
   299   public         boolean testSetDontInlineMethod(Executable method, boolean value) {
   300     Objects.requireNonNull(method);
   300     Objects.requireNonNull(method);
   301     return testSetDontInlineMethod0(method, value);
   301     return testSetDontInlineMethod0(method, value);
   302   }
   302   }
   303   public        int     getCompileQueuesSize() {
   303   public        int     getCompileQueuesSize() {
   304     return getCompileQueueSize(-1 /*any*/);
   304     return getCompileQueueSize(-2 /*any*/);
   305   }
   305   }
   306   public native int     getCompileQueueSize(int compLevel);
   306   public native int     getCompileQueueSize(int compLevel);
   307   private native boolean testSetForceInlineMethod0(Executable method, boolean value);
   307   private native boolean testSetForceInlineMethod0(Executable method, boolean value);
   308   public         boolean testSetForceInlineMethod(Executable method, boolean value) {
   308   public         boolean testSetForceInlineMethod(Executable method, boolean value) {
   309     Objects.requireNonNull(method);
   309     Objects.requireNonNull(method);