< prev index next >

src/hotspot/share/opto/phaseX.cpp

Print this page

        

*** 1676,1685 **** --- 1676,1693 ---- } _worklist.push(u); } } } + + // TODO: Needed after the block above? + if (use->is_ShenandoahBarrier()) { + Node* cmp = use->find_out_with(Op_CmpP); + if (cmp != NULL) { + _worklist.push(cmp); + } + } } } /** * Remove the speculative part of all types that we know of
*** 2104,2113 **** --- 2112,2125 ---- } break; default: break; } + if (UseShenandoahGC) { + // TODO: Should we call this for ZGC as well? + BarrierSet::barrier_set()->barrier_set_c2()->enqueue_useful_gc_barrier(igvn->_worklist, old); + } } } //-------------------------------replace_by-----------------------------------
< prev index next >