[foreign-memaccess+abi] RFR: 8303879: Add MemoryLayout.withoutName() [v2]

Per Minborg pminborg at openjdk.org
Thu Mar 9 10:48:15 UTC 2023


> This PR proposes to add a method `MemoryLayout::withoutName` which allows `MemoryLayout` instances to be checked for functional equivalence (i.e. "everything except the name is the same"). This might be useful for reuse, caching etc. of MemoryLayouts and constructs that consists/depends on one or more `MemoryLayout` instance.

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

  Rename method name

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

Changes:
  - all: https://git.openjdk.org/panama-foreign/pull/814/files
  - new: https://git.openjdk.org/panama-foreign/pull/814/files/a91475ec..03cdf295

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

  Stats: 34 lines in 10 files changed: 0 ins; 2 del; 32 mod
  Patch: https://git.openjdk.org/panama-foreign/pull/814.diff
  Fetch: git fetch https://git.openjdk.org/panama-foreign pull/814/head:pull/814

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


More information about the panama-dev mailing list