Potential performance regression with FFM compared to Unsafe

Tomer Zeltzer tomerr90 at gmail.com
Thu Apr 17 11:31:20 UTC 2025


Hey all!
First time emailing such a list so apologies if somwthing is "off protocol".
I wrote the following article where I benchmarked FFM and Unsafe in JDK21
https://itnext.io/javas-new-fma-renaissance-or-decay-372a2aee5f32

Conclusions were that FFM was 42% faster for on heap accesses while 67%
slower for off heap, which is a bit weird.
Code is also linked in the article.
Would love hearing your thoughts!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20250417/2462ab3b/attachment.htm>


More information about the panama-dev mailing list