[foreign-memaccess+abi] RFR: Revert changes to ValueLayout.OfAddress::toString

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Aug 4 13:08:03 UTC 2022


The patch for unifying memory segment and memory address contained some changes to tweak address layout toString method, so that the layout would show whether dereference was safe or not. I think that went too far - an address layout is still 32/64 bits, and capturing dereference properties in toString representation is not helpful (and can actually be confusing, attra>

This patch also fixes a failure in a test that was imported from jdk/jdk during last week's automatic merge.

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

Commit messages:
 - Revert changes to ValueLayout.OfAddress::toString

Changes: https://git.openjdk.org/panama-foreign/pull/697/files
 Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=697&range=00
  Stats: 12 lines in 2 files changed: 0 ins; 9 del; 3 mod
  Patch: https://git.openjdk.org/panama-foreign/pull/697.diff
  Fetch: git fetch https://git.openjdk.org/panama-foreign pull/697/head:pull/697

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


More information about the panama-dev mailing list