changeset 55123 | 7b70f269fe0d |
parent 54327 | a4d19817609c |
child 55307 | ed12027517c0 |
--- a/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp Fri May 31 08:27:06 2019 +0530 +++ b/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp Fri May 31 10:13:24 2019 +0200 @@ -1336,10 +1336,9 @@ Node* other_ctrl = u->in(LoadBarrierNode::Control); Node* lca = phase->dom_lca(this_ctrl, other_ctrl); - bool ok = true; - Node* proj1 = NULL; Node* proj2 = NULL; + bool ok = (lb->in(LoadBarrierNode::Address) == u->in(LoadBarrierNode::Address)); while (this_ctrl != lca && ok) { if (this_ctrl->in(0) != NULL &&