[foreign-memaccess+abi] RFR: 8264763: Add support for extended map modes in mapped segments [v2]

Athijegannathan Sundararajan sundar at openjdk.java.net
Thu Apr 8 13:47:29 UTC 2021


On Tue, 6 Apr 2021 11:20:02 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> This simple fix add support for mapping segments using the extended map modes added by JEP 352.
>> 
>> I tried testing the support but, to do that properly you need specific setup (as described in JEP 352).
>> 
>> Anyway, I have been able to verify that now there's no exception in the memory segment code,
>> the failure I get is deep into the native map0 method, which throws "operation not supported", presumably because the file I'm mapping is not from NVM device.
>> 
>> Any extra help in testing this would be appreciated.
>
> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove redundant import

Marked as reviewed by sundar (Committer).

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

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


More information about the panama-dev mailing list