Uses of Interface
jdk.incubator.foreign.Addressable
Packages that use Addressable
Package
Description
Classes to support low-level and efficient foreign memory/function access, directly from Java.
-
Uses of Addressable in jdk.incubator.foreign
Subinterfaces of Addressable in jdk.incubator.foreignModifier and TypeInterfaceDescriptioninterfaceA memory address models a reference into a memory location.interfaceA memory segment models a contiguous region of memory.interfaceA native symbol models a reference to a location (typically the entry point of a function) in a native library.interfaceAn interface that models a variable argument list, similar in functionality to a Cva_list.Methods in jdk.incubator.foreign with parameters of type AddressableModifier and TypeMethodDescriptionVaList.Builder.addVarg(ValueLayout.OfAddress layout, Addressable value) Writes anAddressablevalue to the variable argument list being constructed.default MemorySegmentSegmentAllocator.allocate(ValueLayout.OfAddress layout, Addressable value) Allocate a memory segment with given layout and initialize it with given address value (expressed as anAddressableinstance).voidMemoryAddress.set(ValueLayout.OfAddress layout, long offset, Addressable value) Writes an address to this address instance and offset with given layout.default voidMemorySegment.set(ValueLayout.OfAddress layout, long offset, Addressable value) Writes an address to this segment and offset with given layout.voidMemoryAddress.setAtIndex(ValueLayout.OfAddress layout, long index, Addressable value) Writes an address to this address instance and index, scaled by given layout size.default voidMemorySegment.setAtIndex(ValueLayout.OfAddress layout, long index, Addressable value) Writes an address to this segment and index, scaled by given layout size.