Unsafe vs MemorySegments / Bounds checking...

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Nov 5 17:34:05 UTC 2024


> In this case the failure happens for
> Module::isNamed, which is called deep within MemorySegment::reinterpret.

Interesting find. If you forceInline that (e.g. using CompileCommand) 
does it get better?

Maurizio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20241105/1169e586/attachment.htm>


More information about the panama-dev mailing list