< prev index next >

src/hotspot/share/opto/phaseX.cpp

Print this page

        

*** 1373,1383 **** i++; } assert(!(i < imax), "sanity"); } } else { ! BarrierSet::barrier_set()->barrier_set_c2()->enqueue_useful_gc_barrier(_worklist, in); } if (ReduceFieldZeroing && dead->is_Load() && i == MemNode::Memory && in->is_Proj() && in->in(0) != NULL && in->in(0)->is_Initialize()) { // A Load that directly follows an InitializeNode is // going away. The Stores that follow are candidates --- 1373,1383 ---- i++; } assert(!(i < imax), "sanity"); } } else { ! BarrierSet::barrier_set()->barrier_set_c2()->enqueue_useful_gc_barrier(this, in); } if (ReduceFieldZeroing && dead->is_Load() && i == MemNode::Memory && in->is_Proj() && in->in(0) != NULL && in->in(0)->is_Initialize()) { // A Load that directly follows an InitializeNode is // going away. The Stores that follow are candidates
*** 2087,2096 **** --- 2087,2098 ---- } break; default: break; } + + BarrierSet::barrier_set()->barrier_set_c2()->enqueue_useful_gc_barrier(igvn, old); } } //-------------------------------replace_by-----------------------------------
< prev index next >