Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
private static native void | addToArchive(Class<?> caller, String interfaceMethodName, MethodType factoryType, MethodType interfaceMethodType, MemberName implementationMember, MethodType dynamicMethodType, Class<?> lambdaProxyClass)
|
pack-priv static Class | find(Class<?> caller, String interfaceMethodName, MethodType factoryType, MethodType interfaceMethodType, MethodHandle implementation, MethodType dynamicMethodType, boolean isSerializable, Class<?>[] altInterfaces, MethodType[] altMethods)
Lookup a lambda proxy class from the CDS archive using the first six arguments as the key. |
private static native Class | findFromArchive(Class<?> caller, String interfaceMethodName, MethodType factoryType, MethodType interfaceMethodType, MemberName implementationMember, MethodType dynamicMethodType)
|
pack-priv static boolean | |
pack-priv static boolean | register(Class<?> caller, String interfaceMethodName, MethodType factoryType, MethodType interfaceMethodType, MethodHandle implementation, MethodType dynamicMethodType, boolean isSerializable, Class<?>[] altInterfaces, MethodType[] altMethods, Class<?> lambdaProxyClass)
Registers the lambdaProxyClass into CDS archive. |
LambdaProxyClassArchive | back to summary |
---|---|
pack-priv LambdaProxyClassArchive() |
addToArchive | back to summary |
---|---|
private static native void addToArchive(Class<?> caller, String interfaceMethodName, MethodType factoryType, MethodType interfaceMethodType, MemberName implementationMember, MethodType dynamicMethodType, Class<?> lambdaProxyClass) |
find | back to summary |
---|---|
pack-priv static Class Lookup a lambda proxy class from the CDS archive using the first six arguments as the key. CDS only archives lambda proxy class if it's not serializable and no marker interfaces and no additional bridges, and if it is loaded by a built-in class loader. |
findFromArchive | back to summary |
---|---|
private static native Class |
loadedByBuiltinLoader | back to summary |
---|---|
pack-priv static boolean loadedByBuiltinLoader(Class<?> cls) Check if the class is loaded by a built-in class loader. |
register | back to summary |
---|---|
pack-priv static boolean register(Class<?> caller, String interfaceMethodName, MethodType factoryType, MethodType interfaceMethodType, MethodHandle implementation, MethodType dynamicMethodType, boolean isSerializable, Class<?>[] altInterfaces, MethodType[] altMethods, Class<?> lambdaProxyClass) Registers the lambdaProxyClass into CDS archive. The VM will store the lambdaProxyClass into a hash table using the first six arguments as the key. CDS only archives lambda proxy class if it's not serializable and no marker interfaces and no additional bridges, and if it is loaded by a built-in class loader. |