src/hotspot/share/opto/escape.cpp
changeset 53288 f0490430ef7a
parent 52568 40474b7105f4
child 53706 b5b373bda814
--- a/src/hotspot/share/opto/escape.cpp	Fri Jan 11 11:42:23 2019 -0800
+++ b/src/hotspot/share/opto/escape.cpp	Fri Jan 11 10:03:00 2019 +0100
@@ -1727,7 +1727,8 @@
     //
     Node* n = field->ideal_node();
     for (DUIterator_Fast imax, i = n->fast_outs(imax); i < imax; i++) {
-      if (n->fast_out(i)->is_LoadStore()) {
+      Node* u = n->fast_out(i);
+      if (u->is_LoadStore() || (u->is_Mem() && u->as_Mem()->is_mismatched_access())) {
         jobj->set_scalar_replaceable(false);
         return;
       }