提交 dc463b80 编写于 作者: S stefank

7160613: VerifyRememberedSets doesn't work with CompressedOops

Summary: use load_decode_heap_oop instead of load_decode_heap_oop_not_null
Reviewed-by: tonyp, brutisso
上级 fc9a358e
...@@ -42,7 +42,7 @@ class CheckForUnmarkedOops : public OopClosure { ...@@ -42,7 +42,7 @@ class CheckForUnmarkedOops : public OopClosure {
protected: protected:
template <class T> void do_oop_work(T* p) { 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) && if (_young_gen->is_in_reserved(obj) &&
!_card_table->addr_is_marked_imprecise(p)) { !_card_table->addr_is_marked_imprecise(p)) {
// Don't overwrite the first missing card mark // Don't overwrite the first missing card mark
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册