mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6863023: need non-perm oops in code cache for JSR 292
Make a special root-list for those few nmethods which might contain non-perm oops. Reviewed-by: twisti, kvn, never, jmasa, ysr
This commit is contained in:
parent
1cf5b7ae11
commit
e261aecad8
74 changed files with 979 additions and 279 deletions
|
@ -133,12 +133,12 @@ void InstructionPrinter::print_object(Value obj) {
|
|||
ciMethod* m = (ciMethod*)value;
|
||||
output()->print("<method %s.%s>", m->holder()->name()->as_utf8(), m->name()->as_utf8());
|
||||
} else {
|
||||
output()->print("<object 0x%x>", value->encoding());
|
||||
output()->print("<object 0x%x>", value->constant_encoding());
|
||||
}
|
||||
} else if (type->as_InstanceConstant() != NULL) {
|
||||
output()->print("<instance 0x%x>", type->as_InstanceConstant()->value()->encoding());
|
||||
output()->print("<instance 0x%x>", type->as_InstanceConstant()->value()->constant_encoding());
|
||||
} else if (type->as_ArrayConstant() != NULL) {
|
||||
output()->print("<array 0x%x>", type->as_ArrayConstant()->value()->encoding());
|
||||
output()->print("<array 0x%x>", type->as_ArrayConstant()->value()->constant_encoding());
|
||||
} else if (type->as_ClassConstant() != NULL) {
|
||||
ciInstanceKlass* klass = type->as_ClassConstant()->value();
|
||||
if (!klass->is_loaded()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue