FFM API Provides Massive Performance Improvements for Native Strings


The Panama Foreign Function and Memory (FFM) API is slated to be finalized in Java 22 and will then be a part of the public Java API. One thing that is perhaps less known is the significant performance improvements made by FFM in certain areas in 22. In this short article, we will be looking at benchmarking string conversion in FFM for Java 21 and Java 22 compared to using old JNI calls.

More at https://minborgsjavapot.blogspot.com/2023/08/java-22-panama-ffm-provides-massive.html