New candidate JEP: 419: Foreign Function & Memory API (Second Incubator)
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Tue Oct 12 11:13:08 UTC 2021
On 12/10/2021 11:54, Sebastian Stenzel wrote:
> Oh well... good to know! :D
>
> While my assumption was wrong, the conclusion stays the same: It should be mentioned whether we can rely on one or the other behaviour.
>
For the records, in the current javadoc for
MemorySegment::allocateNative I see this sentence:
> The block of off-heap memory associated with the returned native
> memory segment is initialized to zero.
Which is repeated across all the allocateNative factories.
Maurizio
More information about the panama-dev
mailing list