# HG changeset patch
# User thartmann
# Date 1530263447 -7200
# Node ID 9816d7cc655e53ba081f938b656e31971b8f097a
# Parent  0d6ab24b6ad97015a64d7dee1dd2823327f5d11e
8205940: LoadNode::find_previous_arraycopy fails with "broken allocation" assert
Summary: Removed assert which is too strong.
Reviewed-by: roland

diff -r 0d6ab24b6ad9 -r 9816d7cc655e src/hotspot/share/opto/memnode.cpp
--- a/src/hotspot/share/opto/memnode.cpp	Fri Jun 29 11:08:38 2018 +0200
+++ b/src/hotspot/share/opto/memnode.cpp	Fri Jun 29 11:10:47 2018 +0200
@@ -518,8 +518,7 @@
       if (ac->is_clonebasic()) {
         intptr_t offset;
         AllocateNode* alloc = AllocateNode::Ideal_allocation(ac->in(ArrayCopyNode::Dest), phase, offset);
-        assert(alloc != NULL && (!ReduceBulkZeroing || alloc->initialization()->is_complete_with_arraycopy()), "broken allocation");
-        if (alloc == ld_alloc) {
+        if (alloc != NULL && alloc == ld_alloc) {
           return ac;
         }
       }