hotspot/src/share/vm/code/relocInfo.cpp
changeset 33807 9f8b0f8a3f29
parent 33198 b37ad9fbf681
child 35086 bbf32241d851
equal deleted inserted replaced
33806:4160a3c28ce8 33807:9f8b0f8a3f29
   436 }
   436 }
   437 
   437 
   438 void Relocation::const_verify_data_value(address x) {
   438 void Relocation::const_verify_data_value(address x) {
   439 #ifdef _LP64
   439 #ifdef _LP64
   440   if (format() == relocInfo::narrow_oop_in_const) {
   440   if (format() == relocInfo::narrow_oop_in_const) {
   441     assert(*(narrowOop*)addr() == oopDesc::encode_heap_oop((oop) x), "must agree");
   441     guarantee(*(narrowOop*)addr() == oopDesc::encode_heap_oop((oop) x), "must agree");
   442   } else {
   442   } else {
   443 #endif
   443 #endif
   444     assert(*(address*)addr() == x, "must agree");
   444     guarantee(*(address*)addr() == x, "must agree");
   445 #ifdef _LP64
   445 #ifdef _LP64
   446   }
   446   }
   447 #endif
   447 #endif
   448 }
   448 }
   449 
   449