--- old/src/share/vm/opto/library_call.cpp 2016-06-29 15:34:14.000000000 +0300 +++ new/src/share/vm/opto/library_call.cpp 2016-06-29 15:34:14.000000000 +0300 @@ -2424,6 +2424,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.