Integrated: 8310126: C1: Missing receiver null check in Reference::get intrinsic

Tobias Hartmann thartmann at openjdk.org
Mon Jun 19 05:12:19 UTC 2023


On Fri, 16 Jun 2023 09:28:38 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> We crash in C1 compiled code due a missing null check on the argument of the `Reference::get` method. The problem is that after [JDK-8201543](https://bugs.openjdk.org/browse/JDK-8201543), see [here](https://hg.openjdk.org/jdk/jdk/rev/4bb58f644e4e#l43.46), no `CodeEmitInfo` is passed to `access_load_at` and therefore no implicit null check is emitted.
> 
> Thanks,
> Tobias

This pull request has now been integrated.

Changeset: 02aaab12
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/02aaab12e331e5a4c249f1d281c4439e2e7c914f
Stats:     63 lines in 2 files changed: 62 ins; 0 del; 1 mod

8310126: C1: Missing receiver null check in Reference::get intrinsic

Reviewed-by: roland, shade

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

PR: https://git.openjdk.org/jdk/pull/14511


More information about the hotspot-compiler-dev mailing list