Uses of Interface
java.lang.foreign.SegmentAllocator
Packages that use SegmentAllocatorPREVIEW
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of SegmentAllocatorPREVIEW in java.lang.foreign
Subinterfaces of SegmentAllocatorPREVIEW in java.lang.foreignModifier and TypeInterfaceDescriptioninterface
Preview.A memory session manages the lifecycle of one or more resources.Methods in java.lang.foreign that return SegmentAllocatorPREVIEWModifier and TypeMethodDescriptionstatic SegmentAllocatorPREVIEW
SegmentAllocator.implicitAllocator()
Returns an allocator which allocates native segments in independent implicit memory sessionsPREVIEW.static SegmentAllocatorPREVIEW
SegmentAllocator.newNativeArena
(long arenaSize, long blockSize, MemorySessionPREVIEW session) Creates an arena-based allocator used to allocate native memory segments.static SegmentAllocatorPREVIEW
SegmentAllocator.newNativeArena
(long arenaSize, MemorySessionPREVIEW session) Creates an arena-based allocator used to allocate native memory segments.static SegmentAllocatorPREVIEW
SegmentAllocator.newNativeArena
(MemorySessionPREVIEW session) Creates an unbounded arena-based allocator used to allocate native memory segments.static SegmentAllocatorPREVIEW
SegmentAllocator.prefixAllocator
(MemorySegmentPREVIEW segment) Returns a segment allocator which responds to allocation requests by recycling a single segment.Methods in java.lang.foreign with parameters of type SegmentAllocatorPREVIEWModifier and TypeMethodDescriptionVaList.nextVarg
(GroupLayoutPREVIEW layout, SegmentAllocatorPREVIEW allocator) Reads the next value as aMemorySegment
, and advances this variable argument list's position.