Interfaces
A linker provides access to foreign functions from Java code, and access to Java code from foreign functions.
A memory address models a reference into a memory location.
A memory layout can be used to describe the contents of a memory segment.
A memory segment models a contiguous region of memory.
A memory session manages the lifecycle of one or more resources.
A symbol lookup is an object that may be used to retrieve the address of a symbol in one or more libraries.
A variable argument list, similar in functionality to a C va_list
.
Classes
A function descriptor is made up of zero or more argument layouts and zero or one return layout.
A compound layout that aggregates multiple member layouts .
A compound layout that denotes a repetition of a given element layout .
A value layout whose carrier is MemoryAddress.class
.
A value layout whose carrier is boolean.class
.
A value layout whose carrier is byte.class
.
A value layout whose carrier is char.class
.
A value layout whose carrier is double.class
.
A value layout whose carrier is float.class
.
A value layout whose carrier is int.class
.
A value layout whose carrier is long.class
.
A value layout whose carrier is short.class
.
Bootstrap methods for linking invokedynamic
call sites that implement
the selection functionality of the switch
statement.
Exception Classes
Thrown to indicate an unexpected failure in pattern matching.
Methods
Adapts a target var handle by pre-processing
a sub-sequence of its coordinate values with a filter (a method handle).
Returns a var handle which will discard some dummy coordinates before delegating to the
target var handle.
Adapts a target var handle by pre-processing incoming coordinate values using unary filter functions.
Adapts a target var handle by pre-processing incoming and outgoing values using a pair of filter functions.
Provides a target var handle with one or more bound coordinates
in advance of the var handle's invocation.
Creates a var handle object, which can be used to dereference a
memory segment PREVIEW
by viewing its contents as a sequence of the provided value layout.
Provides a var handle which adapts the coordinate values of the target var handle, by re-arranging them
so that the new coordinates match the provided ones.
Returns true
if this thread is a virtual thread.
Returns a builder for creating a platform Thread
or ThreadFactory
that creates platform threads.
Returns a builder for creating a virtual Thread
or ThreadFactory
that creates virtual threads.
Creates a virtual thread to execute a task and schedules it to execute.
Maps a region of this channel's file into a new mapped memory segment,
with the given offset, size and memory session.
Creates an Executor that starts a new Thread for each task.
Creates an Executor that starts a new virtual Thread for each task.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2022, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy . DRAFT 19-ea+31