Uses of Package
java.lang.foreign
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files and sockets; defines selectors, for
multiplexed, non-blocking I/O operations.
Incubating Feature. Will be removed in a future release.
-
ClassDescriptionPreview.A value layout used to model the address of some region of memory.Preview.An arena controls the lifecycle of native memory segments, providing both flexible allocation and timely deallocation.Preview.A function descriptor models the signature of a foreign function.Preview.A compound layout that is an aggregation of multiple, heterogeneous member layouts.Preview.A linker provides access to foreign functions from Java code, and access to Java code from foreign functions.Preview.A linker option is used to provide additional parameters to a linkage request.Preview.A memory layout describes the contents of a memory segment.Preview.An element in a layout path.Preview.A memory segment provides access to a contiguous region of memory.Preview.A scope models the lifetime of all the memory segments associated with it.Preview.A padding layout.Preview.An object that may be used to allocate memory segmentsPREVIEW.Preview.A compound layout that denotes a homogeneous repetition of a given element layout.Preview.A group layout whose member layouts are laid out one after the other.Preview.A symbol lookup retrieves the address of a symbol in one or more libraries.Preview.A group layout whose member layouts are laid out at the same starting offset.Preview.A layout that models values of basic data types.Preview.A value layout whose carrier is
boolean.class
.Preview.A value layout whose carrier isbyte.class
.Preview.A value layout whose carrier ischar.class
.Preview.A value layout whose carrier isdouble.class
.Preview.A value layout whose carrier isfloat.class
.Preview.A value layout whose carrier isint.class
.Preview.A value layout whose carrier islong.class
.Preview.A value layout whose carrier isshort.class
. -
-
ClassDescriptionPreview.An arena controls the lifecycle of native memory segments, providing both flexible allocation and timely deallocation.Preview.A memory segment provides access to a contiguous region of memory.
-
ClassDescriptionPreview.A memory segment provides access to a contiguous region of memory.