< prev index next >

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

Print this page
rev 49208 : 8199471: Enable generation of callSiteForms at link time
Reviewed-by: psandoz


  85      * Returns a {@code byte[]} representation of {@code BoundMethodHandle}
  86      * species class implementing the signature defined by {@code types}. Used
  87      * by GenerateBMHClassesPlugin to enable generation of such classes during
  88      * the jlink phase. Should do some added validation since this string may be
  89      * user provided.
  90      */
  91     Map.Entry<String, byte[]> generateConcreteBMHClassBytes(
  92             final String types);
  93 
  94     /**
  95      * Returns a {@code byte[]} representation of a class implementing
  96      * the zero and identity forms of all {@code LambdaForm.BasicType}s.
  97      */
  98     byte[] generateBasicFormsClassBytes(final String className);
  99 
 100     /**
 101      * Returns a {@code byte[]} representation of a class implementing
 102      * the invoker forms for the set of supplied {@code methodTypes}.
 103      */
 104     byte[] generateInvokersHolderClassBytes(String className,
 105             MethodType[] methodTypes);


 106 }


  85      * Returns a {@code byte[]} representation of {@code BoundMethodHandle}
  86      * species class implementing the signature defined by {@code types}. Used
  87      * by GenerateBMHClassesPlugin to enable generation of such classes during
  88      * the jlink phase. Should do some added validation since this string may be
  89      * user provided.
  90      */
  91     Map.Entry<String, byte[]> generateConcreteBMHClassBytes(
  92             final String types);
  93 
  94     /**
  95      * Returns a {@code byte[]} representation of a class implementing
  96      * the zero and identity forms of all {@code LambdaForm.BasicType}s.
  97      */
  98     byte[] generateBasicFormsClassBytes(final String className);
  99 
 100     /**
 101      * Returns a {@code byte[]} representation of a class implementing
 102      * the invoker forms for the set of supplied {@code methodTypes}.
 103      */
 104     byte[] generateInvokersHolderClassBytes(String className,
 105             MethodType[] invokerMethodTypes,
 106             MethodType[] callSiteFormsMethodTypes);
 107 
 108 }
< prev index next >