equal
deleted
inserted
replaced
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); |