src/hotspot/share/opto/arraycopynode.cpp
changeset 52925 9c18c9d839d3
parent 52424 e3d79743f57d
child 54048 744dc9c33676
--- a/src/hotspot/share/opto/arraycopynode.cpp	Mon Dec 10 17:34:49 2018 +0300
+++ b/src/hotspot/share/opto/arraycopynode.cpp	Mon Dec 10 15:47:44 2018 +0100
@@ -497,7 +497,7 @@
   } else {
     if (in(TypeFunc::Control) != ctl) {
       // we can't return new memory and control from Ideal at parse time
-      assert(!is_clonebasic(), "added control for clone?");
+      assert(!is_clonebasic() || UseShenandoahGC, "added control for clone?");
       phase->record_for_igvn(this);
       return false;
     }