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

Maurizio Cimadamore mcimadamore at openjdk.java.net
Tue Apr 6 11:20:02 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/panama-foreign/pull/489/files
  - new: https://git.openjdk.java.net/panama-foreign/pull/489/files/77439dea..be321e0d

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=489&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=489&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/489.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/489/head:pull/489

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


More information about the panama-dev mailing list