New candidate JEP: 419: Foreign Function & Memory API (Second Incubator)

Sebastian Stenzel sebastian.stenzel at gmail.com
Tue Oct 12 12:05:47 UTC 2021


> On 12. Oct 2021, at 13:13, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
> 
> 
> 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
> 

My bad, I must have missed this. ��



More information about the panama-dev mailing list