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.An arena controls the lifecycle of memory segments, providing both flexible allocation and timely deallocation.Preview.A function descriptor models the signature of foreign functions.Preview.A compound layout that aggregates multiple 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 indicate additional linking requirements to the linker, besides what is described by a function descriptor.Preview.A linker option for saving portions of the execution state immediately after calling a foreign function associated with a downcall method handle, before it can be overwritten by the runtime, or read through conventional means.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 padding layout.Preview.An object that may be used to allocate memory segmentsPREVIEW.Preview.A segment scope controls access to memory segments.Preview.A compound layout that denotes a 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.Helper class to create and manipulate variable argument lists, similar in functionality to a C
va_list
.Preview.A builder used to construct a variable argument listPREVIEW.Preview.A layout that models values of basic data types.Preview.A value layout whose carrier isMemorySegment.class
.Preview.A value layout whose carrier isboolean.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.A memory segment provides access to a contiguous region of memory.Preview.A segment scope controls access to memory segments.
-
ClassDescriptionPreview.A memory segment provides access to a contiguous region of memory.