--- a/hotspot/src/share/vm/code/relocInfo.cpp Mon Nov 09 11:50:15 2015 -0500
+++ b/hotspot/src/share/vm/code/relocInfo.cpp Tue Oct 27 12:25:08 2015 +0100
@@ -438,10 +438,10 @@
void Relocation::const_verify_data_value(address x) {
#ifdef _LP64
if (format() == relocInfo::narrow_oop_in_const) {
- assert(*(narrowOop*)addr() == oopDesc::encode_heap_oop((oop) x), "must agree");
+ guarantee(*(narrowOop*)addr() == oopDesc::encode_heap_oop((oop) x), "must agree");
} else {
#endif
- assert(*(address*)addr() == x, "must agree");
+ guarantee(*(address*)addr() == x, "must agree");
#ifdef _LP64
}
#endif