openImplicit
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Fri Apr 21 18:14:19 UTC 2023
Yes. The semantics of `SegmentScope.auto()` is the same as that of
`MemorySession.openImplicit`.
Maurizio
On 21/04/2023 19:08, Michael Hall wrote:
> Would this be the correct jdk20 change?
>
> //textureBufferIds = MemorySegment.allocateNative(1 * 4 * 3, SegmentScope.openImplicit());
> textureBufferIds = MemorySegment.allocateNative(1 * 4 * 3, SegmentScope.auto());
More information about the panama-dev
mailing list