Integrated: 8254314: Shenandoah: null checks in c2 should not skip over native load barrier

Roland Westrelin roland at openjdk.java.net
Mon Oct 12 07:25:10 UTC 2020


On Fri, 9 Oct 2020 14:03:21 GMT, Roland Westrelin <roland at openjdk.org> wrote:

> C2 optimizes (CmpP (LoadBarrier o) NULL) as (CmpP o NULL). The ative
> load barrier is not guaranteed to return a non null oop when passed a
> non null oop so this optimization could lead to a crash.

This pull request has now been integrated.

Changeset: a2bb4c60
Author:    Roland Westrelin <roland at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a2bb4c60
Stats:     4 lines in 1 file changed: 2 ins; 0 del; 2 mod

8254314: Shenandoah: null checks in c2 should not skip over native load barrier

Reviewed-by: rkennke

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

PR: https://git.openjdk.java.net/jdk/pull/576


More information about the shenandoah-dev mailing list