hotspot/src/share/vm/opto/library_call.cpp
changeset 207 694076d0755f
parent 202 dc13bf0e5d5d
child 360 21d113ecbf6a
equal deleted inserted replaced
206:d61cf247afd5 207:694076d0755f
  4168       && !ZeroTLAB              // pointless if already zeroed
  4168       && !ZeroTLAB              // pointless if already zeroed
  4169       && basic_elem_type != T_CONFLICT // avoid corner case
  4169       && basic_elem_type != T_CONFLICT // avoid corner case
  4170       && !_gvn.eqv_uncast(src, dest)
  4170       && !_gvn.eqv_uncast(src, dest)
  4171       && ((alloc = tightly_coupled_allocation(dest, slow_region))
  4171       && ((alloc = tightly_coupled_allocation(dest, slow_region))
  4172           != NULL)
  4172           != NULL)
       
  4173       && _gvn.find_int_con(alloc->in(AllocateNode::ALength), 1) > 0
  4173       && alloc->maybe_set_complete(&_gvn)) {
  4174       && alloc->maybe_set_complete(&_gvn)) {
  4174     // "You break it, you buy it."
  4175     // "You break it, you buy it."
  4175     InitializeNode* init = alloc->initialization();
  4176     InitializeNode* init = alloc->initialization();
  4176     assert(init->is_complete(), "we just did this");
  4177     assert(init->is_complete(), "we just did this");
  4177     assert(dest->Opcode() == Op_CheckCastPP, "sanity");
  4178     assert(dest->Opcode() == Op_CheckCastPP, "sanity");