test/lib/sun/hotspot/WhiteBox.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File compiler_control Cdiff test/lib/sun/hotspot/WhiteBox.java

test/lib/sun/hotspot/WhiteBox.java

Print this page
rev 1938 : imported patch whitebox_blocking_compile

*** 300,316 **** private native boolean testSetForceInlineMethod0(Executable method, boolean value); public boolean testSetForceInlineMethod(Executable method, boolean value) { Objects.requireNonNull(method); return testSetForceInlineMethod0(method, value); } 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); } private native void clearMethodState0(Executable method); public void clearMethodState(Executable method) { Objects.requireNonNull(method); clearMethodState0(method); --- 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*/); } 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