Unsafe vs MemorySegments / Bounds checking...

Johannes Lichtenberger lichtenberger.johannes at gmail.com
Wed Oct 30 17:07:09 UTC 2024


Also the discussions are always   very Hotspot specific, so in general I've
had better overall performance with the GraalVM JIT for my stuff, but it
may lack behind in optimizations for the Foreign Function and Memory API
and maybe the Vector API stuff, but I'm not sure if that's still true,
though

Quân Anh Mai <anhmdq at gmail.com> schrieb am Mi., 30. Okt. 2024, 17:53:

> I agree that the implementations of the MemorySegment accessors are overly
> complicated for such a performance-sensitive component. It seems we can and
> should can simplify them massively.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20241030/e84c93c3/attachment-0001.htm>


More information about the panama-dev mailing list