8221648: Remove CollectedHeap::is_in_closed_subset()

Reviewed-by: kbarrett, tschatzl
This commit is contained in:
Per Lidén 2019-04-02 10:04:25 +02:00
parent d06f3accec
commit a7dd794beb
11 changed files with 11 additions and 61 deletions

View file

@ -56,7 +56,7 @@ void OopIterateClosure::verify(T* p) {
T heap_oop = RawAccess<>::oop_load(p);
if (!CompressedOops::is_null(heap_oop)) {
oop o = CompressedOops::decode_not_null(heap_oop);
assert(Universe::heap()->is_in_closed_subset(o),
assert(Universe::heap()->is_in(o),
"should be in closed *p " PTR_FORMAT " " PTR_FORMAT, p2i(p), p2i(o));
}
}