public interface GCallback
GCallback relies on preview features of the Java platform:
GCallbackrefers 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.
void (*GCallback)();
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentPREVIEWallocate(GCallback fi, SegmentScopePREVIEW scope) voidapply()static GCallbackofAddress(MemorySegmentPREVIEW addr, SegmentScopePREVIEW scope)
-
Method Details
-
apply
void apply() -
allocate
-
ofAddress
-
GCallbackwhen preview features are enabled.