src/hotspot/share/opto/escape.cpp
changeset 53288 f0490430ef7a
parent 52568 40474b7105f4
child 53706 b5b373bda814
equal deleted inserted replaced
53287:6b963dd96b5e 53288:f0490430ef7a
  1725     // 5. Currently an object is not scalar replaceable if a LoadStore node
  1725     // 5. Currently an object is not scalar replaceable if a LoadStore node
  1726     // access its field since the field value is unknown after it.
  1726     // access its field since the field value is unknown after it.
  1727     //
  1727     //
  1728     Node* n = field->ideal_node();
  1728     Node* n = field->ideal_node();
  1729     for (DUIterator_Fast imax, i = n->fast_outs(imax); i < imax; i++) {
  1729     for (DUIterator_Fast imax, i = n->fast_outs(imax); i < imax; i++) {
  1730       if (n->fast_out(i)->is_LoadStore()) {
  1730       Node* u = n->fast_out(i);
       
  1731       if (u->is_LoadStore() || (u->is_Mem() && u->as_Mem()->is_mismatched_access())) {
  1731         jobj->set_scalar_replaceable(false);
  1732         jobj->set_scalar_replaceable(false);
  1732         return;
  1733         return;
  1733       }
  1734       }
  1734     }
  1735     }
  1735 
  1736