mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8140584: nmethod::oops_do_marking_epilogue always runs verification code
Reviewed-by: tschatzl, kvn
This commit is contained in:
parent
2e45726df1
commit
eddb003fc7
6 changed files with 15 additions and 15 deletions
|
@ -438,10 +438,10 @@ void Relocation::const_set_data_value(address x) {
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue