Arena/Segment allocator and zero initialized MemorySegment
Pedro Lamarão
pedro.lamarao at prodist.com.br
Wed Jun 5 18:52:45 UTC 2024
Em qua., 5 de jun. de 2024 às 14:51, Maurizio Cimadamore <
maurizio.cimadamore at oracle.com> escreveu:
> On 05/06/2024 18:25, Pedro Lamarão wrote:
>
> Also, as this discussion suggests, what appears to be a universal
> interface may actually not be universal at all, and perhaps it is best to
> have libraries define their own allocator interfaces and see what emerges
> from that.
>
> This is the thing we keep (re)learning when thinking about allocators in
> FFM. It is tempting to hardwire something to cater specific needs, but in
> reality specific libraries will work with very specific set of constraints,
> so our best bet is to somehow support such things to be built on top.
>
Security libraries require the weird property of "zeroing before release",
and that would be just the beginning on "secure memory" properties.
--
Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20240605/c1c21058/attachment.htm>
More information about the panama-dev
mailing list