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

@ -565,12 +565,12 @@ JRT_END
JRT_LEAF(jboolean, JVMCIRuntime::validate_object(JavaThread* thread, oopDesc* parent, oopDesc* child))
bool ret = true;
if(!Universe::heap()->is_in_closed_subset(parent)) {
if(!Universe::heap()->is_in(parent)) {
tty->print_cr("Parent Object " INTPTR_FORMAT " not in heap", p2i(parent));
parent->print();
ret=false;
}
if(!Universe::heap()->is_in_closed_subset(child)) {
if(!Universe::heap()->is_in(child)) {
tty->print_cr("Child Object " INTPTR_FORMAT " not in heap", p2i(child));
child->print();
ret=false;