Foreign Function & Memory API (Preview)

GPTKB entity

Statements (41)
Predicate Object
gptkbp:instance_of gptkb:API
gptkbp:bfsLayer 4
gptkbp:bfsParent gptkb:Java_SE_19
gptkb:JDK_19
gptkb:Java_19.0
gptkb:Java_20
gptkb:Java_SE_18
gptkb:Java_19
gptkb:JDK_20
gptkbp:aims_to replace JNI (Java Native Interface)
gptkbp:allows allocation of native memory
mapping of native structures to Java classes
memory access outside the Java heap
gptkbp:developed_by gptkb:Java_Enhancement_Proposal
gptkbp:enables direct memory allocation
gptkbp:facilitates data exchange between Java and native libraries
https://www.w3.org/2000/01/rdf-schema#label Foreign Function & Memory API (Preview)
gptkbp:includes Function Descriptor class
Memory Layout class
Memory Segment class
gptkbp:introduced gptkb:Java_17
gptkbp:is_compatible_with foreign memory access
gptkbp:is_designed_for performance and safety
gptkbp:is_designed_to high-performance applications
reduce boilerplate code
gptkbp:is_part_of gptkb:Java_Standard_Edition
gptkb:Project_Panama
gptkb:Project_Loom
Java Enhancement Proposals (JE Ps)
gptkbp:is_used_for calling native libraries
gptkbp:is_used_in system programming
performance-critical applications
native interop scenarios
gptkbp:provides interoperability with native code
API for memory management
a safer alternative to JNI
a way to define memory layouts
gptkbp:requires JDK 17 or later
gptkbp:set_in preview status
gptkbp:supports C language functions
structured memory access