src/share/vm/opto/library_call.cpp

changeset 469
545c277a3ecf
parent 464
d5fc211aea19
child 548
ba764ed4b6f2
     1.1 --- a/src/share/vm/opto/library_call.cpp	Fri Feb 29 09:57:18 2008 -0800
     1.2 +++ b/src/share/vm/opto/library_call.cpp	Fri Feb 29 11:22:27 2008 -0800
     1.3 @@ -4170,6 +4170,7 @@
     1.4        && !_gvn.eqv_uncast(src, dest)
     1.5        && ((alloc = tightly_coupled_allocation(dest, slow_region))
     1.6            != NULL)
     1.7 +      && _gvn.find_int_con(alloc->in(AllocateNode::ALength), 1) > 0
     1.8        && alloc->maybe_set_complete(&_gvn)) {
     1.9      // "You break it, you buy it."
    1.10      InitializeNode* init = alloc->initialization();

mercurial