8310540: G1: Verification should use raw oop decode functions

Reviewed-by: ayang, kbarrett
This commit is contained in:
Thomas Schatzl 2023-06-26 07:49:51 +00:00
parent 013367b483
commit 9397094692

View File

@ -618,7 +618,7 @@ class G1VerifyLiveAndRemSetClosure : public BasicOopIterateClosure {
if (CompressedOops::is_null(heap_oop)) {
return;
}
oop obj = CompressedOops::decode_not_null(heap_oop);
oop obj = CompressedOops::decode_raw_not_null(heap_oop);
LiveChecker<T> live_check(this, _containing_obj, p, obj, _vo);
if (live_check.failed()) {