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

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Apr 8 13:50:20 UTC 2021


On Tue, 6 Apr 2021 10:52:19 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.

This pull request has now been integrated.

Changeset: e9b8a6a6
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/e9b8a6a6
Stats:     6 lines in 1 file changed: 4 ins; 0 del; 2 mod

8264763: Add support for extended map modes in mapped segments

Reviewed-by: sundar

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

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


More information about the panama-dev mailing list