src/hotspot/share/opto/phaseX.cpp
changeset 52654 95ce45e0249f
parent 52429 b64514ff68fd
child 53220 c14b7b6a9b2f
--- a/src/hotspot/share/opto/phaseX.cpp	Fri Nov 09 14:08:01 2018 +0100
+++ b/src/hotspot/share/opto/phaseX.cpp	Thu Nov 22 09:22:54 2018 +0100
@@ -1677,6 +1677,8 @@
         }
       }
     }
+
+    BarrierSet::barrier_set()->barrier_set_c2()->igvn_add_users_to_worklist(this, use);
   }
 }
 
@@ -1827,7 +1829,7 @@
                 for (DUIterator_Fast i3max, i3 = u->fast_outs(i3max); i3 < i3max; i3++) {
                   Node* b = u->fast_out(i3);
                   if (bs->is_gc_barrier_node(b)) {
-                    _worklist.push(b);
+                    worklist.push(b);
                   }
                 }
               }
@@ -1835,6 +1837,8 @@
             }
           }
         }
+
+        BarrierSet::barrier_set()->barrier_set_c2()->ccp_analyze(this, worklist, m);
       }
     }
   }