< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java

Print this page

        

*** 24,35 **** package jdk.vm.ci.hotspot; import static jdk.vm.ci.common.InitTimer.timer; import static jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime; ! import java.lang.reflect.Constructor; ! import java.lang.reflect.Method; import jdk.vm.ci.code.BytecodeFrame; import jdk.vm.ci.code.InstalledCode; import jdk.vm.ci.code.InvalidInstalledCodeException; import jdk.vm.ci.code.TargetDescription; --- 24,34 ---- package jdk.vm.ci.hotspot; import static jdk.vm.ci.common.InitTimer.timer; import static jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime; ! import java.lang.reflect.Executable; import jdk.vm.ci.code.BytecodeFrame; import jdk.vm.ci.code.InstalledCode; import jdk.vm.ci.code.InvalidInstalledCodeException; import jdk.vm.ci.code.TargetDescription;
*** 383,396 **** * {@code Object.finalize()}. */ native boolean hasFinalizableSubclass(HotSpotResolvedObjectTypeImpl type); /** ! * Gets the method corresponding to {@code holder} and slot number {@code slot} (i.e. ! * {@link Method#slot} or {@link Constructor#slot}). */ ! native HotSpotResolvedJavaMethodImpl getResolvedJavaMethodAtSlot(Class<?> holder, int slot); /** * Gets the maximum absolute offset of a PC relative call to {@code address} from any position * in the code cache. * --- 382,394 ---- * {@code Object.finalize()}. */ native boolean hasFinalizableSubclass(HotSpotResolvedObjectTypeImpl type); /** ! * Gets the method corresponding to {@code executable}. */ ! native HotSpotResolvedJavaMethodImpl asResolvedJavaMethod(Executable executable); /** * Gets the maximum absolute offset of a PC relative call to {@code address} from any position * in the code cache. *
*** 614,619 **** --- 612,622 ---- * @param frame * @return the number of bytes required for deoptimization of this frame state */ native int interpreterFrameSize(BytecodeFrame frame); + /** + * Invokes non-public method {@code java.lang.invoke.LambdaForm.compileToBytecode()} on + * {@code lambdaForm} (which must be a {@code java.lang.invoke.LambdaForm} instance). + */ + native void compileToBytecode(Object lambdaForm); }
< prev index next >