--- old/src/share/vm/opto/escape.cpp 2015-08-31 17:27:19.280270925 +0200 +++ new/src/share/vm/opto/escape.cpp 2015-08-31 17:27:18.969764724 +0200 @@ -3241,7 +3241,7 @@ // Note 2: MergeMem may already contains instance memory slices added // during find_inst_mem() call when memory nodes were processed above. igvn->hash_delete(nmm); - uint nslices = nmm->req(); + uint nslices = MIN2(nmm->req(), new_index_start); for (uint i = Compile::AliasIdxRaw+1; i < nslices; i++) { Node* mem = nmm->in(i); Node* cur = NULL;