[foreign-memaccess+abi] Integrated: 8266626: Check that the target address of a native call is not NULL

Jorn Vernee jvernee at openjdk.java.net
Mon May 10 13:54:56 UTC 2021


On Fri, 7 May 2021 13:40:10 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> This patch adds a check when unboxing the target address of a native call to check that the address is not `NULL`. Additionally, it adds checks earlier when an address is specified with a linking request, to check that that address is not `NULL`.
> 
> I didn't see any regressions on the CallOverhead* benchmarks.
> 
> Thanks,
> Jorn

This pull request has now been integrated.

Changeset: 872b126f
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/872b126f9cf17b87832eb979d301d92d36e78351
Stats:     97 lines in 8 files changed: 86 ins; 4 del; 7 mod

8266626: Check that the target address of a native call is not NULL

Reviewed-by: mcimadamore

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

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


More information about the panama-dev mailing list