src/hotspot/share/opto/compile.cpp
changeset 52224 4f2215a00ed1
parent 52092 4cffba2df537
child 52325 0451e0a2f1f5
--- a/src/hotspot/share/opto/compile.cpp	Tue Oct 23 13:47:17 2018 +0800
+++ b/src/hotspot/share/opto/compile.cpp	Wed Oct 17 10:19:13 2018 +0200
@@ -421,7 +421,7 @@
     }
   }
   BarrierSetC2* bs = BarrierSet::barrier_set()->barrier_set_c2();
-  bs->eliminate_useless_gc_barriers(useful);
+  bs->eliminate_useless_gc_barriers(useful, this);
   // clean up the late inline lists
   remove_useless_late_inlines(&_string_late_inlines, useful);
   remove_useless_late_inlines(&_boxing_late_inlines, useful);