Tutorial: The Foreign Function and Memory API


These tutorials help with understanding the Foreign Function and Memory (FFM) API capabilities to invoke code outside the JVM (foreign functions) and to safely access memory not managed by the JVM (foreign memory). The FFM API facilitates Java applications to call native libraries and process native data without the brittleness and danger of JNI.

More at https://dev.java/learn/ffm/