[foreign-memaccess] RFR 8235837: Memory access API refinements

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Jan 8 19:11:32 UTC 2020


On 08/01/2020 18:59, Maurizio Cimadamore wrote:
> Am I the only one finding the use of the 'relative' word confusing 
> here? E.g. that "relativeTo" seems to suggest re-interpreting of same 
> memory location, rather than a change in the addressed location. 

Proposal - let's just have:

long offset()

MemoryAddress add(long offset)

where the offset in add is allowed to be negative.

Deal?

Maurizio



More information about the panama-dev mailing list