[foreign-memaccess] RFR: JDK-8242048: Add API point to get raw long value out of a MemoryAddress

Athijegannathan Sundararajan sundar at openjdk.java.net
Thu Apr 2 15:28:36 UTC 2020


On Thu, 2 Apr 2020 15:17:45 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This simple patch adds an extra API to retrieve the long value of an address; the method throws UOE if the address is
> heap-based. I have not added dedicated tests since this method is used pretty much everywhere (see MemoryHandles).

Marked as reviewed by sundar (Committer).

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

PR: https://git.openjdk.java.net/panama-foreign/pull/88


More information about the panama-dev mailing list