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

Radoslaw Smogura github.com+7535718+rsmogura at openjdk.java.net
Wed Jan 20 13:04:53 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.

This pull request has now been integrated.

Changeset: 962361e0
Author:    Rado Smogura <rsmogura+git at outlook.com>
Committer: Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/962361e0
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

Make `UNSAFE` variable static final

Reviewed-by: mcimadamore

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

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


More information about the panama-dev mailing list