627 * @return the number of bytes required for deoptimization of this frame state 628 */ 629 native int interpreterFrameSize(BytecodeFrame frame); 630 631 /** 632 * Invokes non-public method {@code java.lang.invoke.LambdaForm.compileToBytecode()} on 633 * {@code lambdaForm} (which must be a {@code java.lang.invoke.LambdaForm} instance). 634 */ 635 native void compileToBytecode(Object lambdaForm); 636 637 /** 638 * Gets the value of the VM flag named {@code name}. 639 * 640 * @param name name of a VM option 641 * @return {@code this} if the named VM option doesn't exist, a {@link String} or {@code null} 642 * if its type is {@code ccstr} or {@code ccstrlist}, a {@link Double} if its type is 643 * {@code double}, a {@link Boolean} if its type is {@code bool} otherwise a 644 * {@link Long} 645 */ 646 native Object getFlagValue(String name); 647 } | 627 * @return the number of bytes required for deoptimization of this frame state 628 */ 629 native int interpreterFrameSize(BytecodeFrame frame); 630 631 /** 632 * Invokes non-public method {@code java.lang.invoke.LambdaForm.compileToBytecode()} on 633 * {@code lambdaForm} (which must be a {@code java.lang.invoke.LambdaForm} instance). 634 */ 635 native void compileToBytecode(Object lambdaForm); 636 637 /** 638 * Gets the value of the VM flag named {@code name}. 639 * 640 * @param name name of a VM option 641 * @return {@code this} if the named VM option doesn't exist, a {@link String} or {@code null} 642 * if its type is {@code ccstr} or {@code ccstrlist}, a {@link Double} if its type is 643 * {@code double}, a {@link Boolean} if its type is {@code bool} otherwise a 644 * {@link Long} 645 */ 646 native Object getFlagValue(String name); 647 648 /** 649 * Gets the host class for {@code type}. 650 */ 651 native HotSpotResolvedObjectTypeImpl getHostClass(HotSpotResolvedObjectTypeImpl type); 652 } |