Top Fields Constructors Methods
jdk.internal.foreign.abi.riscv64.linux

public final Class LinuxRISCV64Linker

extends AbstractLinker
Class Inheritance
Imports
jdk.internal.foreign.abi.AbstractLinker, .LinkerOptions, .SharedUtils, java.lang.foreign.FunctionDescriptor, .MemoryLayout, .ValueLayout, java.lang.invoke.MethodHandle, .MethodType, java.nio.ByteOrder, java.util.Map

Field Summary

Modifier and TypeField and Description
pack-priv static final Map<String, MemoryLayout>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
protected MethodHandle
protected AbstractLinker.UpcallStubFactory
public Map<String, MemoryLayout>
canonicalLayouts()

Implements java.lang.foreign.Linker.canonicalLayouts.

Returns an unmodifiable mapping between the names of data types used by the ABI implemented by this linker and their canonical layouts.

public static LinuxRISCV64Linker
Inherited from jdk.internal.foreign.abi.AbstractLinker:
checkStructMemberdefaultLookupdowncallHandledowncallHandleupcallStub

Field Detail

CANONICAL_LAYOUTSback to summary
pack-priv static final Map<String, MemoryLayout> CANONICAL_LAYOUTS

Constructor Detail

LinuxRISCV64Linkerback to summary
private LinuxRISCV64Linker()

Method Detail

arrangeDowncallback to summary
protected MethodHandle arrangeDowncall(MethodType inferredMethodType, FunctionDescriptor function, LinkerOptions options)

Implements abstract jdk.internal.foreign.abi.AbstractLinker.arrangeDowncall.

Annotations
@Override
arrangeUpcallback to summary
protected AbstractLinker.UpcallStubFactory arrangeUpcall(MethodType targetType, FunctionDescriptor function, LinkerOptions options)

Implements abstract jdk.internal.foreign.abi.AbstractLinker.arrangeUpcall.

Annotations
@Override
canonicalLayoutsback to summary
public Map<String, MemoryLayout> canonicalLayouts()

Implements java.lang.foreign.Linker.canonicalLayouts.

Doc from java.lang.foreign.Linker.canonicalLayouts.

Returns an unmodifiable mapping between the names of data types used by the ABI implemented by this linker and their canonical layouts.

Each Linker is responsible for choosing the data types that are widely recognized as useful on the OS and processor combination supported by the Linker. Accordingly, the precise set of data type names and canonical layouts exposed by the linker are unspecified; they vary from one Linker to another.

Returns:Map<String, MemoryLayout>

an unmodifiable mapping between the names of data types used by the ABI implemented by this linker and their canonical layouts

Annotations
@Override
getInstanceback to summary
public static LinuxRISCV64Linker getInstance()