Jump to content

User:SteveLoughran/sandbox

From Wikipedia, the free encyclopedia
  • Java 21 added a Java API to allocate and release Arenas.

[1]. The stated purpose of these is to improve safe integration with native libraries so as to prevent JVM memory leaks and to reduce the risk of JVM memory corruption by native code. [2]

  1. ^ "Memory Segments and Arenas". Oracle.
  2. ^ Cimadamore, Maurizio. "JEP 454: Foreign Function & Memory API". OpenJDK.