equal
deleted
inserted
replaced
54 void OopIterateClosure::verify(T* p) { |
54 void OopIterateClosure::verify(T* p) { |
55 if (should_verify_oops()) { |
55 if (should_verify_oops()) { |
56 T heap_oop = RawAccess<>::oop_load(p); |
56 T heap_oop = RawAccess<>::oop_load(p); |
57 if (!CompressedOops::is_null(heap_oop)) { |
57 if (!CompressedOops::is_null(heap_oop)) { |
58 oop o = CompressedOops::decode_not_null(heap_oop); |
58 oop o = CompressedOops::decode_not_null(heap_oop); |
59 assert(Universe::heap()->is_in_closed_subset(o), |
59 assert(Universe::heap()->is_in(o), |
60 "should be in closed *p " PTR_FORMAT " " PTR_FORMAT, p2i(p), p2i(o)); |
60 "should be in closed *p " PTR_FORMAT " " PTR_FORMAT, p2i(p), p2i(o)); |
61 } |
61 } |
62 } |
62 } |
63 } |
63 } |
64 #endif |
64 #endif |