test/lib/sun/hotspot/WhiteBox.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/lib/sun/hotspot/WhiteBox.java Thu Feb 25 15:39:27 2016
--- new/test/lib/sun/hotspot/WhiteBox.java Thu Feb 25 15:39:27 2016
*** 300,316 ****
--- 300,323 ----
private native boolean testSetForceInlineMethod0(Executable method, boolean value);
public boolean testSetForceInlineMethod(Executable method, boolean value) {
Objects.requireNonNull(method);
return testSetForceInlineMethod0(method, value);
}
+ private native boolean enqueueMethodForCompilation0(Executable method, int compLevel, int entry_bci, boolean block);
+ public boolean compileMethod(Executable method, int compLevel) {
+ return compileMethod(method, compLevel, -1 /*InvocationEntryBci*/);
+ }
+ public boolean compileMethod(Executable method, int compLevel, int entry_bci) {
+ Objects.requireNonNull(method);
+ return enqueueMethodForCompilation0(method, compLevel, entry_bci, true);
+ }
public boolean enqueueMethodForCompilation(Executable method, int compLevel) {
return enqueueMethodForCompilation(method, compLevel, -1 /*InvocationEntryBci*/);
}
private native boolean enqueueMethodForCompilation0(Executable method, int compLevel, int entry_bci);
public boolean enqueueMethodForCompilation(Executable method, int compLevel, int entry_bci) {
Objects.requireNonNull(method);
! return enqueueMethodForCompilation0(method, compLevel, entry_bci, false);
}
private native void clearMethodState0(Executable method);
public void clearMethodState(Executable method) {
Objects.requireNonNull(method);
clearMethodState0(method);
test/lib/sun/hotspot/WhiteBox.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File