Skip to content

Commit

Permalink
Update decode_raw usage to decode_without_asserts, after 8328698
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjwalls committed Apr 8, 2024
1 parent d0cfff0 commit 7e6c7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/utilities/debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ extern "C" bool dbg_is_good_oop(oopDesc* o) {
} else {
// Fetch compressed class pointer (no accessor for o._metadata._compressed_klass)
uintptr_t ccpAddr = (uintptr_t) o + sizeof(uintptr_t);
uintptr_t* ccp = (uintptr_t*) CompressedKlassPointers::decode_raw(*(uintptr_t*) ccpAddr);
uintptr_t* ccp = (uintptr_t*) CompressedKlassPointers::decode_without_asserts(*(uintptr_t*) ccpAddr);
good = dbg_is_safe(ccp, -1)
&& dbg_is_safe((void*) *ccp, -1);
}
Expand Down

0 comments on commit 7e6c7b9

Please sign in to comment.