changeset 50913:9816d7cc655e jdk-11+20

8205940: LoadNode::find_previous_arraycopy fails with "broken allocation" assert Summary: Removed assert which is too strong. Reviewed-by: roland
author thartmann
date Fri, 29 Jun 2018 11:10:47 +0200
parents 0d6ab24b6ad9
children 07498f5b6a96
files src/hotspot/share/opto/memnode.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
         }
       }