mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
7160613: VerifyRememberedSets doesn't work with CompressedOops
Use load_decode_heap_oop instead of load_decode_heap_oop_not_null Reviewed-by: tonyp, brutisso
This commit is contained in:
parent
f695b75d78
commit
99802ac63d
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class CheckForUnmarkedOops : public OopClosure {
|
|||
|
||||
protected:
|
||||
template <class T> void do_oop_work(T* p) {
|
||||
oop obj = oopDesc::load_decode_heap_oop_not_null(p);
|
||||
oop obj = oopDesc::load_decode_heap_oop(p);
|
||||
if (_young_gen->is_in_reserved(obj) &&
|
||||
!_card_table->addr_is_marked_imprecise(p)) {
|
||||
// Don't overwrite the first missing card mark
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue