New candidate JEP: 442: Foreign Function & Memory API (Third Preview)

Mark Reinhold mark.reinhold at
Fri Mar 17 17:32:22 UTC 2023

  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