[foreign-memaccess+abi] RFR: Refactor compound layouts such as SequenceLayout and StructLayout [v2]

Per Minborg duke at openjdk.org
Tue Sep 13 12:30:33 UTC 2022


> This PR proposes harmonizations between `SequenceLayout` and `GroupLayout` as well as some improvements to the API exposing fewer details.
> 
> In this PR, there is an extra level that unifies and deduplicates the common methods in Sequence and Group Layouts. This level is visible in the sealed hierarchy. It would be possible to make it a separate interface that is not in the sealed hierarchy as an alternative.
> 
> ![graphviz (23)](https://user-images.githubusercontent.com/7457876/189898114-b1fc8a44-7ce0-43ad-a82e-d62b3ce0e110.svg)

Per Minborg has updated the pull request incrementally with one additional commit since the last revision:

  Revert name of GroupLayout implementation

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

Changes:
  - all: https://git.openjdk.org/panama-foreign/pull/719/files
  - new: https://git.openjdk.org/panama-foreign/pull/719/files/09c10d75..b07ce70d

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

  Stats: 13 lines in 5 files changed: 0 ins; 1 del; 12 mod
  Patch: https://git.openjdk.org/panama-foreign/pull/719.diff
  Fetch: git fetch https://git.openjdk.org/panama-foreign pull/719/head:pull/719

PR: https://git.openjdk.org/panama-foreign/pull/719


More information about the panama-dev mailing list