[foreign-memaccess+abi] RFR: 8291473: Unify MemorySegment and MemoryAddress [v5]

Radoslaw Smogura duke at openjdk.org
Thu Jul 28 17:52:03 UTC 2022


On Thu, 28 Jul 2022 17:32:34 GMT, Radoslaw Smogura <duke at openjdk.org> wrote:

>>> I wonder if array word is not too strict, I think what if we would use value object as a base for struct (sometime in future).
>> 
>> I think you are correct, the word might indeed be too strict. "Heap container" is what we're after, but I'm not sure if having a method named "heapContainer" would fly?
>
> I'm not good at finding names. I got used to `base`. Maybe heapBase or heapObject. I'll think about it and come back if I invite something worth of mentioning.

I think heapContainer is good, I just thought as well about something like holder, or value holder if we would like to have something shorter - I'm really not an expert at naming.

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

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


More information about the panama-dev mailing list