changeset 56485:def8e77a3ad1

8229350: Shenandoah does not need barriers before CreateEx Reviewed-by: rkennke
author shade
date Fri, 09 Aug 2019 13:07:18 +0200
parents 4aea554692aa
children 90688c5ff482
files src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
   }