Feedback on Panama from ECS engine in Java 25

Per-Ake Minborg per-ake.minborg at oracle.com
Wed Aug 6 07:14:36 UTC 2025


Hi Felipe,

Thanks for the encouraging words and we are happy to hear it is coming along well! We are adding some additional performance improvements in JDK 26 so, depending on your workloads, you might see some additional performance gains once you switch to the newest JDK version.

Let us know how the project evolves.

Cheers, Per Minborg
________________________________
From: panama-dev <panama-dev-retn at openjdk.org> on behalf of Felipe Yelpo <felipeyelpo26 at gmail.com>
Sent: Wednesday, August 6, 2025 6:06 AM
To: panama-dev at openjdk.org <panama-dev at openjdk.org>
Subject: Feedback on Panama from ECS engine in Java 25


Hi all,

I'm currently developing an ECS engine in Java 25, built (thanks to) Project Panama's MemorySegment/Arena model, using the Vector API for operations. It uses SoA chunked layouts of off-heap memory based around CPU cache sizes detected by OSHI. No JNI at all.

Some benchmarks I just ran on an i5 11400f with 256KB chunks:

- SIMD operations over 2M entities across 2 float[4] components came to around ~60ns per entity.

- 65.536 entities added in 16ms.

The project is private for now (just ~1 month in), but I’d be happy to share architectural insights or isolated benchmarks.

Thanks — these APIs are game-changing, and frankly the only reason I'm able to do this in Java.

- Felipe Yelpo

Feel free to reach out: www.linkedin.com/in/felipe-yelpo-3b547a317<http://www.linkedin.com/in/felipe-yelpo-3b547a317>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20250806/47caf276/attachment.htm>


More information about the panama-dev mailing list