[foreign-memaccess+abi] RFR: Make `UNSAFE` variable static final

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Jan 15 11:22:15 UTC 2021


On Thu, 14 Jan 2021 22:36:14 GMT, Radoslaw Smogura <github.com+7535718+rsmogura at openjdk.org> wrote:

> Make `UNSAFE` static final, to avoid null checks
> and traps.

Whoops - well spotted!

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

Marked as reviewed by mcimadamore (Committer).

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


More information about the panama-dev mailing list