MemorySegment

GPTKB entity

Statements (23)
Predicate Object
gptkbp:instanceOf gptkb:class
gptkbp:documentation https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/foreign/MemorySegment.html
https://www.w3.org/2000/01/rdf-schema#label MemorySegment
gptkbp:introducedIn gptkb:Java_14
gptkbp:lifecycleManagedBy MemorySession
gptkbp:method gptkb:center
gptkb:address
scope
slice
acquire
asByteBuffer
isAlive
mismatch
gptkbp:partOf Java Foreign Function & Memory API
gptkbp:purpose to model a contiguous region of memory
gptkbp:replacedBy sun.misc.Unsafe for memory access
gptkbp:threadSafe not thread-safe
gptkbp:type gptkb:java.lang.foreign
gptkbp:usedFor interfacing with native code
off-heap memory access
gptkbp:bfsParent gptkb:java.lang.foreign_package
gptkb:foreign_function_and_memory_API_(incubator)
gptkbp:bfsLayer 7