mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8221648: Remove CollectedHeap::is_in_closed_subset()
Reviewed-by: kbarrett, tschatzl
This commit is contained in:
parent
d06f3accec
commit
a7dd794beb
11 changed files with 11 additions and 61 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue