[foreign-memaccess] Integrated: 8254343: Revisit API for supporting mapped memory segments

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


On Mon, 12 Oct 2020 12:33:39 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> 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`.

This pull request has now been integrated.

Changeset: bb8c61d7
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/bb8c61d7
Stats:     549 lines in 13 files changed: 336 ins; 157 del; 56 mod

8254343: Revisit API for supporting mapped memory segments

Reviewed-by: psandoz

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

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


More information about the panama-dev mailing list