hotspot/src/share/vm/code/relocInfo.cpp
changeset 33807 9f8b0f8a3f29
parent 33198 b37ad9fbf681
child 35086 bbf32241d851
--- 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