NativeEntryPoint,
which is used to capture the characteristics of the native call (such as calling convention to be used,
or whether a native transition is required) and a fallback method handle, which can be used
when intrinsification of this method handle is not possible.
| Modifier and Type | Class and Description |
|---|---|
| private static class | NativeMethodHandle.
Pre-initialized NamedFunctions for bootstrapping purposes. |
| Modifier and Type | Field and Description |
|---|---|
| private static final MemberName. | |
| pack-priv final NativeEntryPoint |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final MethodHandle | copyWith(MethodType mt, LambdaForm lf)
Implements abstract java. / Method handle implementation methods. |
| private static boolean | |
| pack-priv static Object | |
| private static boolean | |
| public static MethodHandle | make(NativeEntryPoint nep)
Creates a new native method handle with given |
| private static LambdaForm | |
| private static LambdaForm | |
| pack-priv BoundMethodHandle | rebind()
Implements abstract java. Require this method handle to be a BMH, or else replace it with a "wrapper" BMH. |
| IMPL_NAMES | back to summary |
|---|---|
| private static final MemberName. | |
| nep | back to summary |
|---|---|
| pack-priv final NativeEntryPoint nep | |
| NativeMethodHandle | back to summary |
|---|---|
| private NativeMethodHandle(MethodType type, LambdaForm form, NativeEntryPoint nep) | |
| copyWith | back to summary |
|---|---|
| pack-priv final MethodHandle copyWith(MethodType mt, LambdaForm lf) Implements abstract java. Doc from java. / Method handle implementation methods. / Sub-classes can override these default implementations. / All these methods assume arguments are already validated.
| |
| hasIllegalType | back to summary |
|---|---|
| private static boolean hasIllegalType(MethodType type) | |
| internalNativeEntryPoint | back to summary |
|---|---|
pack-priv static Object internalNativeEntryPoint(Object mh)
| |
| isIllegalType | back to summary |
|---|---|
| private static boolean isIllegalType(Class<?> pType) | |
| make | back to summary |
|---|---|
| public static MethodHandle make(NativeEntryPoint nep) Creates a new native method handle with given | |
| makePreparedLambdaForm | back to summary |
|---|---|
| private static LambdaForm makePreparedLambdaForm(MethodType mtype) | |
| preparedLambdaForm | back to summary |
|---|---|
| private static LambdaForm preparedLambdaForm(MethodType mtype) | |
| rebind | back to summary |
|---|---|
| pack-priv BoundMethodHandle rebind() Implements abstract java. Doc from java. Require this method handle to be a BMH, or else replace it with a "wrapper" BMH. Many transforms are implemented only for BMHs.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final LambdaForm. |
| Access | Constructor and Description |
|---|---|
| private |
| NF_internalNativeEntryPoint | back to summary |
|---|---|
| pack-priv static final LambdaForm. | |
| Lazy | back to summary |
|---|---|
| private Lazy() | |