Linker.Option (Java SE 22 & JDK 22)
-
Method Summary
Static Methods
Returns a linker option used to save portions of the execution state immediately after calling a foreign function associated with a downcall method handle, before it can be overwritten by the Java runtime, or read through conventional means.
Returns a struct layout that represents the layout of the capture state segment that is passed to a downcall handle linked with
captureCallState(String...).critical(boolean allowHeapAccess) Returns a linker option used to mark a foreign function as critical.
firstVariadicArg(int index) Returns a linker option used to denote the index indicating the start of the variadic arguments passed to the function described by the function descriptor associated with a downcall linkage request.
-
Method Details
-
firstVariadicArg
-
captureCallState
-
captureStateLayout
-
critical
-