Java 17 bug (?) on Windows with MemorySegment.asSlice and offset =
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Thu May 12 13:07:29 UTC 2022
On 12/05/2022 10:54, Maurizio Cimadamore wrote:
> * the BB address is set to unmapper.address + pagePosition - now this
> is an actual difference between the two snippets - the memory segment
> version ignores pagePosition.
This is incorrect, please disregard.
The memory segment code is calling unmapper.address() which, internally,
sums the base address and the page position. So, this works as expected.
Maurizio
More information about the panama-dev
mailing list