< prev index next >

src/java.base/share/classes/jdk/internal/misc/JavaLangInvokeAccess.java

Print this page
rev 15353 : 8164044: Generate the corresponding BoundMethodHandle to all generated DirectMethodHandles
Reviewed-by: vlivanov, mhaupt

*** 49,60 **** * Returns a {@code byte[]} containing the bytecode for a class implementing * DirectMethodHandle of each pairwise combination of {@code MethodType} and * an {@code int} representing method type. Used by * GenerateJLIClassesPlugin to generate such a class during the jlink phase. */ ! byte[] generateDMHClassBytes(String className, MethodType[] methodTypes, ! int[] types); /** * Returns a {@code byte[]} containing the bytecode for a BoundMethodHandle * species class implementing the signature defined by {@code types}. Used * by GenerateBMHClassesPlugin to enable generation of such classes during --- 49,69 ---- * Returns a {@code byte[]} containing the bytecode for a class implementing * DirectMethodHandle of each pairwise combination of {@code MethodType} and * an {@code int} representing method type. Used by * GenerateJLIClassesPlugin to generate such a class during the jlink phase. */ ! byte[] generateDirectMethodHandleHolderClassBytes(String className, ! MethodType[] methodTypes, int[] types); ! ! /** ! * Returns a {@code byte[]} containing the bytecode for a class implementing ! * DelegatingMethodHandles of each {@code MethodType} kind in the ! * {@code methodTypes} argument. Used by GenerateJLIClassesPlugin to ! * generate such a class during the jlink phase. ! */ ! byte[] generateDelegatingMethodHandleHolderClassBytes(String className, ! MethodType[] methodTypes); /** * Returns a {@code byte[]} containing the bytecode for a BoundMethodHandle * species class implementing the signature defined by {@code types}. Used * by GenerateBMHClassesPlugin to enable generation of such classes during
< prev index next >