8205940: LoadNode::find_previous_arraycopy fails with "broken allocation" assert
Summary: Removed assert which is too strong.
Reviewed-by: roland
--- 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;
}
}