java.lang.Object
org.purejava.appindicator.MemoryAllocator
MemoryAllocator relies on preview features of the Java platform:
MemoryAllocatorrefers to one or more preview APIs:MemorySegment,SegmentScope.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentPREVIEWALLOCATE_CALLBACK_FOR(GCallback cb, SegmentScopePREVIEW scope) static MemorySegmentPREVIEWALLOCATE_FOR(String str) static boolean
-
Constructor Details
-
MemoryAllocator
public MemoryAllocator()
-
-
Method Details
-
ALLOCATE_FOR
-
ALLOCATE_CALLBACK_FOR
-
isLoadedNativeLib
public static boolean isLoadedNativeLib()
-
MemoryAllocatorwhen preview features are enabled.