Feature requests.
Lee Rhodes
leerho at gmail.com
Tue May 20 17:33:45 UTC 2025
Maurizio, Andrew, Paul, Per-Ake,
Thanks to all of you for very clear explanations!
Lee.
On Tue, May 20, 2025 at 1:47 AM Andrew Haley <aph-open at littlepinkcloud.com>
wrote:
> On 5/19/25 16:51, Paul Sandoz wrote:
> > Note that will not guarantee stable alignment. The GC can move the
> > allocated array.
>
> Is it even allowed?
>
>
> https://download.java.net/java/early_access/jdk25/docs/api/java.base/java/lang/foreign/MemorySegment.html#segment-alignment
>
> "Heap segments can only be accessed using a layout whose alignment is
> smaller or equal to the maximum alignment associated with the heap
> segment. Attempting to access a heap segment using a layout whose
> alignment is greater than the maximum alignment associated with the heap
> segment will fail,"
>
> --
> Andrew Haley (he/him)
> Java Platform Lead Engineer
> Red Hat UK Ltd. <https://www.redhat.com>
> https://keybase.io/andrewhaley
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20250520/27294cb4/attachment-0001.htm>
More information about the panama-dev
mailing list