[foreign-memaccess+abi] RFR: 8264515: Rename static factory methods in the foreign API [v2]

Paul Sandoz psandoz at openjdk.java.net
Thu Apr 1 16:07:32 UTC 2021


On Wed, 31 Mar 2021 16:58:03 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> One thing not addressed in this patch, which should:
> 
> `MemorySegment.ofNative()`
> 
> This used to be: `MemorySegment::ofNativeRestricted`
> 
> We can rename it to `allNative`, or `nativeHeap`, or ...
> 
> any ideas/suggestions?

`nativeGlobalRegion` ?

-------------

PR: https://git.openjdk.java.net/panama-foreign/pull/487


More information about the panama-dev mailing list