< prev index next >

src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp

Print this page

        

*** 93,105 **** unregister_potential_barrier_node(n); } } } ! void ZBarrierSetC2::enqueue_useful_gc_barrier(Unique_Node_List &worklist, Node* node) const { if (node->is_LoadBarrier() && !node->as_LoadBarrier()->has_true_uses()) { ! worklist.push(node); } } void ZBarrierSetC2::find_dominating_barriers(PhaseIterGVN& igvn) { // Look for dominating barriers on the same address only once all --- 93,105 ---- unregister_potential_barrier_node(n); } } } ! void ZBarrierSetC2::enqueue_useful_gc_barrier(PhaseIterGVN* igvn, Node* node) const { if (node->is_LoadBarrier() && !node->as_LoadBarrier()->has_true_uses()) { ! igvn->_worklist.push(node); } } void ZBarrierSetC2::find_dominating_barriers(PhaseIterGVN& igvn) { // Look for dominating barriers on the same address only once all
*** 108,118 **** Compile* C = Compile::current(); ZBarrierSetC2* bs = (ZBarrierSetC2*)BarrierSet::barrier_set()->barrier_set_c2(); ZBarrierSetC2State* s = bs->state(); if (s->load_barrier_count() >= 2) { Compile::TracePhase tp("idealLoop", &C->timers[Phase::_t_idealLoop]); ! PhaseIdealLoop ideal_loop(igvn, true, false, true); if (C->major_progress()) C->print_method(PHASE_PHASEIDEALLOOP_ITERATIONS, 2); } } void ZBarrierSetC2::add_users_to_worklist(Unique_Node_List* worklist) const { --- 108,118 ---- Compile* C = Compile::current(); ZBarrierSetC2* bs = (ZBarrierSetC2*)BarrierSet::barrier_set()->barrier_set_c2(); ZBarrierSetC2State* s = bs->state(); if (s->load_barrier_count() >= 2) { Compile::TracePhase tp("idealLoop", &C->timers[Phase::_t_idealLoop]); ! PhaseIdealLoop ideal_loop(igvn, LoopOptsZgcLastRound); if (C->major_progress()) C->print_method(PHASE_PHASEIDEALLOOP_ITERATIONS, 2); } } void ZBarrierSetC2::add_users_to_worklist(Unique_Node_List* worklist) const {
< prev index next >