Integrated: 8254314: Shenandoah: null checks in c2 should not skip over native load barrier
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.
Author: Roland Westrelin <roland at openjdk.org>
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
More information about the shenandoah-dev