hotspot/src/share/vm/opto/library_call.cpp
changeset 40047 124ad42f6e96
parent 40045 4273f3ba95f7
child 40093 f94d179a730b
--- a/hotspot/src/share/vm/opto/library_call.cpp	Tue Jul 05 17:57:20 2016 -0700
+++ b/hotspot/src/share/vm/opto/library_call.cpp	Wed Jul 06 15:05:28 2016 +0300
@@ -2337,6 +2337,8 @@
       return false;
     }
     mismatched = (bt != type);
+  } else if (alias_type->adr_type() == TypeOopPtr::BOTTOM) {
+    mismatched = true; // conservatively mark all "wide" on-heap accesses as mismatched
   }
 
   // First guess at the value type.