| Modifier and Type | Class and Description |
|---|---|
| private static record | |
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private static final MethodHandle | |
| private static final MethodHandle |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected MethodHandle | arrangeDowncall(MethodType inferredMethodType, FunctionDescriptor function, LinkerOptions options)
Implements abstract jdk.
|
| protected AbstractLinker. | arrangeUpcall(MethodType targetType, FunctionDescriptor function, LinkerOptions options)
Implements abstract jdk.
|
| private static void | |
| private static void | |
| public Map | canonicalLayouts()
Implements java. Returns an unmodifiable mapping between the names of data types used by the ABI implemented by this linker and their canonical layouts. |
| private static Object | |
| private static void | doUpcall(MethodHandle target, MemorySegment retPtr, MemorySegment argPtrs, FallbackLinker.
|
| private static IllegalArgumentException | |
| public static FallbackLinker | |
| public static boolean | |
| private static MemorySegment | |
| private static Object | |
| private static void |
| MH_DO_DOWNCALL | back to summary |
|---|---|
| private static final MethodHandle MH_DO_DOWNCALL | |
| MH_DO_UPCALL | back to summary |
|---|---|
| private static final MethodHandle MH_DO_UPCALL | |
| FallbackLinker | back to summary |
|---|---|
| public FallbackLinker() | |
| arrangeDowncall | back to summary |
|---|---|
| protected MethodHandle arrangeDowncall(MethodType inferredMethodType, FunctionDescriptor function, LinkerOptions options) Implements abstract jdk.
| |
| arrangeUpcall | back to summary |
|---|---|
| protected AbstractLinker. Implements abstract jdk.
| |
| assertNotEmpty | back to summary |
|---|---|
| private static void assertNotEmpty(FunctionDescriptor fd) | |
| assertNotEmpty | back to summary |
|---|---|
| private static void assertNotEmpty(MemoryLayout layout) | |
| canonicalLayouts | back to summary |
|---|---|
| public Map Implements java. Doc from java. Returns an unmodifiable mapping between the names of data types used by the ABI implemented by this linker and their canonical layouts.
Each
| |
| doDowncall | back to summary |
|---|---|
| private static Object doDowncall(SegmentAllocator returnAllocator, Object[] args, FallbackLinker. | |
| doUpcall | back to summary |
|---|---|
private static void doUpcall(MethodHandle target, MemorySegment retPtr, MemorySegment argPtrs, FallbackLinker.
| |
| empty | back to summary |
|---|---|
| private static IllegalArgumentException empty(MemoryLayout layout) | |
| getInstance | back to summary |
|---|---|
| public static FallbackLinker getInstance() | |
| isSupported | back to summary |
|---|---|
| public static boolean isSupported() | |
| makeCif | back to summary |
|---|---|
| private static MemorySegment makeCif(MethodType methodType, FunctionDescriptor function, LinkerOptions options, Arena scope) | |
| readValue | back to summary |
|---|---|
| private static Object readValue(MemorySegment seg, MemoryLayout layout) | |
| writeValue | back to summary |
|---|---|
| private static void writeValue(Object arg, MemoryLayout layout, MemorySegment argSeg) | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | allowsHeapAccess
Record Component accessed by allowsHeapAccess(). |
| private final List | argLayouts
Record Component accessed by argLayouts(). |
| private final int | capturedStateMask
Record Component accessed by capturedStateMask(). |
| private final MemorySegment | |
| private final MemoryLayout | returnLayout
Record Component accessed by returnLayout(). |
| Access | Constructor and Description |
|---|---|
| private | DowncallData(MemorySegment cif, MemoryLayout returnLayout, List<MemoryLayout> argLayouts, int capturedStateMask, boolean allowsHeapAccess)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public List | |
| public int | |
| public MemorySegment | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public MemoryLayout | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| allowsHeapAccess | back to summary |
|---|---|
| private final boolean allowsHeapAccess Record Component accessed by allowsHeapAccess(). | |
| argLayouts | back to summary |
|---|---|
| private final List<MemoryLayout> argLayouts Record Component accessed by argLayouts(). | |
| capturedStateMask | back to summary |
|---|---|
| private final int capturedStateMask Record Component accessed by capturedStateMask(). | |
| cif | back to summary |
|---|---|
| private final MemorySegment cif Record Component accessed by cif(). | |
| returnLayout | back to summary |
|---|---|
| private final MemoryLayout returnLayout Record Component accessed by returnLayout(). | |
| DowncallData | back to summary |
|---|---|
| private DowncallData(MemorySegment cif, MemoryLayout returnLayout, List<MemoryLayout> argLayouts, int capturedStateMask, boolean allowsHeapAccess) | |
| allowsHeapAccess | back to summary |
|---|---|
| public boolean allowsHeapAccess() Record Component getter of allowsHeapAccess. | |
| argLayouts | back to summary |
|---|---|
| public List Record Component getter of argLayouts. | |
| capturedStateMask | back to summary |
|---|---|
| public int capturedStateMask() Record Component getter of capturedStateMask. | |
| cif | back to summary |
|---|---|
| public MemorySegment cif() Record Component getter of cif. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| returnLayout | back to summary |
|---|---|
| public MemoryLayout returnLayout() Record Component getter of returnLayout. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| Modifier and Type | Field and Description |
|---|---|
| private final List | argLayouts
Record Component accessed by argLayouts(). |
| private final MemorySegment | |
| private final MemoryLayout | returnLayout
Record Component accessed by returnLayout(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public MemorySegment | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public MemoryLayout | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| argLayouts | back to summary |
|---|---|
| private final List<MemoryLayout> argLayouts Record Component accessed by argLayouts(). | |
| cif | back to summary |
|---|---|
| private final MemorySegment cif Record Component accessed by cif(). | |
| returnLayout | back to summary |
|---|---|
| private final MemoryLayout returnLayout Record Component accessed by returnLayout(). | |
| UpcallData | back to summary |
|---|---|
| private UpcallData(MemoryLayout returnLayout, List<MemoryLayout> argLayouts, MemorySegment cif) | |
| argLayouts | back to summary |
|---|---|
| public List Record Component getter of argLayouts. | |
| cif | back to summary |
|---|---|
| public MemorySegment cif() Record Component getter of cif. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| returnLayout | back to summary |
|---|---|
| public MemoryLayout returnLayout() Record Component getter of returnLayout. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |