< prev index next >
src/share/vm/opto/loopPredicate.cpp
Print this page
*** 407,416 ****
--- 407,419 ----
// the possibility to push n onto the stack for further processing.
void visit(Node* use, Node* n) {
if (_lpt->is_invariant(n)) { // known invariant
_invariant.set(n->_idx);
} else if (!n->is_CFG()) {
+ if (n->Opcode() == Op_ShenandoahLoadReferenceBarrier) {
+ return;
+ }
Node *n_ctrl = _phase->ctrl_or_self(n);
Node *u_ctrl = _phase->ctrl_or_self(use); // self if use is a CFG
if (_phase->is_dominator(n_ctrl, u_ctrl)) {
_stack.push(n, n->in(0) == NULL ? 1 : 0);
}
< prev index next >