git: openjdk/jdk: 8261730: C2 compilation fails with assert(store->find_edge(load) != -1) failed: missing precedence edge

Roberto Castañeda Lozano rcastanedalo at openjdk.java.net
Thu Mar 4 07:49:53 UTC 2021


Changeset: 4cfecceb
Author:    Roberto Castañeda Lozano <rcastanedalo at openjdk.org>
Date:      2021-03-04 07:48:51 +0000
URL:       https://git.openjdk.java.net/jdk/commit/4cfecceb

8261730: C2 compilation fails with assert(store->find_edge(load) != -1) failed: missing precedence edge

Relax assertion in PhaseCFG::verify() to accept the case where a store is used
to implement an implicit null check and a load is placed in the null block.

Reviewed-by: thartmann, kvn

! src/hotspot/share/opto/classes.hpp
! src/hotspot/share/opto/gcm.cpp
! src/hotspot/share/opto/machnode.hpp
+ test/hotspot/jtreg/compiler/uncommontrap/TestNullCheckAntiDependence.java



More information about the jdk-changes mailing list