src/hotspot/share/jvmci/jvmciRuntime.cpp
changeset 54375 a5ce9300462f
parent 53582 881c5fbeb849
child 54647 c0d9bc9b4e1f
--- a/src/hotspot/share/jvmci/jvmciRuntime.cpp	Wed Mar 27 10:25:12 2019 +0100
+++ b/src/hotspot/share/jvmci/jvmciRuntime.cpp	Tue Apr 02 10:04:25 2019 +0200
@@ -565,12 +565,12 @@
 
 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;