From 9397094692ca840b1ac0c5b43edb895f8a397510 Mon Sep 17 00:00:00 2001 From: Thomas Schatzl Date: Mon, 26 Jun 2023 07:49:51 +0000 Subject: [PATCH] 8310540: G1: Verification should use raw oop decode functions Reviewed-by: ayang, kbarrett --- src/hotspot/share/gc/g1/heapRegion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/g1/heapRegion.cpp b/src/hotspot/share/gc/g1/heapRegion.cpp index b3e64c064e0..c989b8c3913 100644 --- a/src/hotspot/share/gc/g1/heapRegion.cpp +++ b/src/hotspot/share/gc/g1/heapRegion.cpp @@ -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 live_check(this, _containing_obj, p, obj, _vo); if (live_check.failed()) {