8229350: Shenandoah does not need barriers before CreateEx
authorshade
Fri, 09 Aug 2019 13:07:18 +0200
changeset 57700 def8e77a3ad1
parent 57699 4aea554692aa
child 57701 90688c5ff482
8229350: Shenandoah does not need barriers before CreateEx Reviewed-by: rkennke
src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp
--- a/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp	Fri Aug 09 11:04:08 2019 +0200
+++ b/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp	Fri Aug 09 13:07:18 2019 +0200
@@ -3093,6 +3093,8 @@
              needs_barrier_impl(phase, n->in(3), visited);
     case Op_ShenandoahEnqueueBarrier:
       return needs_barrier_impl(phase, n->in(1), visited);
+    case Op_CreateEx:
+      return false;
     default:
       break;
   }