[foreign-memaccess] RFR: 8254343: Revisit API for supporting mapped memory segments (second option) [v2]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Mon Oct 12 17:19:35 UTC 2020


> This patch contains an alternate approach to support mapped memory segment operations,
> effectively addressing the issues described in PR/377.
> 
> Here, support for mapped segments is reduced to bare minimum in the public API; a mapped segment is a segment whose
> file descriptor is set.
> A separate helper class `MappedMemorySegments` exposes the same routines which are now provided by
> `MappedMemorySegment`.

Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:

  Improved javadoc

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

Changes:
  - all: https://git.openjdk.java.net/panama-foreign/pull/378/files
  - new: https://git.openjdk.java.net/panama-foreign/pull/378/files/363e3b8b..fca8113f

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

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

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


More information about the panama-dev mailing list