[foreign-memaccess+abi] RFR: 8310362: Improve composability of handle derived from layouts [v2]

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Jun 22 21:19:28 UTC 2023


On Thu, 22 Jun 2023 19:16:11 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> The previous doc talks about deref paths at the end, but then shows an alternative way to compute the accessed address. I thought this looked conflicting, so I changed this part to talk about the simple case first.
>> 
>> We could pull up the full blown address computation as well
>
> I've uploaded a new version which attempts to improve this by merging the two paragraphs about offset computation. I'm not sure which version is better, though... Given the length of the text, I feel like we need _some_ kind of concept that refer to sections of a path which don't contain dereference path elements.

I agree that the text is still not optimal. I'd like to think about it some more, and maybe I can come up with some more concrete suggestions.

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

PR Review Comment: https://git.openjdk.org/panama-foreign/pull/840#discussion_r1239037888


More information about the panama-dev mailing list