-
This Release of DataSketches Memory is for Java 21 and will compile and run on Java 21. It may not run on later versions of Java and will not run on earlier Java versions.
-
It uses the new java.base/java.lang.foreign (Panama, Foreign Function & Memory (FFM) API, JEP 442) instead of relying on JVM internals. You may need to add the JVM flag
--enable-preview
at compile and run-time. -
The FFM API has changed considerably since Java 17 thus the API changes in this release will reflect some of those changes. The primary change affecting this release is the use of the
Arena
class for allocating and closing off-heap memory. TheResourceScope
class of Java 17 has been removed and its functionality simplified and moved toMemorySegment.Scope
. -
This release also fixes issues that were found in the prior release 5.0.0:
-
A special "Thank You" to @frankgrimes97 for his considerable contributions to this release.