New candidate JEP: 434: Foreign Function & Memory API (Second Preview)

Mark Reinhold mark.reinhold at oracle.com
Thu Oct 27 18:29:57 UTC 2022


https://openjdk.org/jeps/434

  Summary: Introduce an API by which Java programs can interoperate with
  code and data outside of the Java runtime. By efficiently invoking
  foreign functions (i.e., code outside the JVM), and by safely accessing
  foreign memory (i.e., memory not managed by the JVM), the API enables
  Java programs to call native libraries and process native data without
  the brittleness and danger of JNI. This is a preview API.

- Mark


More information about the jdk-dev mailing list