[foreign-memaccess+abi] RFR: 8303888: Add AddressLayout.withoutTargetLayout

Per Minborg pminborg at openjdk.org
Thu Mar 9 11:07:21 UTC 2023


This PR proposes to add a `AddressLayout.withoutTargetLayout()` method for symmetry reasons. This allows  AddressLayout to be converted back to raw addresses.

Discussion point: Should this method require native access?

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

Commit messages:
 - Add AddressLayout.withoutTargetLayout

Changes: https://git.openjdk.org/panama-foreign/pull/815/files
 Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=815&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8303888
  Stats: 16 lines in 3 files changed: 16 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/panama-foreign/pull/815.diff
  Fetch: git fetch https://git.openjdk.org/panama-foreign pull/815/head:pull/815

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


More information about the panama-dev mailing list