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
@ -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…
x
Reference in New Issue
Block a user