Introduce an API to allow Java programs to safely and efficiently access foreign memory outside of the Java heap.
bugs.openjdk.java.net/browse/JDK-…
Provide an incubator module, jdk.incubator.foreign, which contains an API, referred to as the Memory Access API, that is designed to facilitate safe and structured access to off-heap and on-heap memory. This API provides the fundamental building blocks to replace JNI.
bugs.openjdk.java.net/browse/JDK-…
The javadoc for the package with the implementation (updated live) is available at cr.openjdk.java.net/~mcimadamor… ; a copy (as of December 9, 2019) is also attached here.
label