mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8003421: NPG: Move oops out of InstanceKlass into mirror
Inject protection_domain, signers, init_lock into java_lang_Class Reviewed-by: stefank, dholmes, sla
This commit is contained in:
parent
a1b903879f
commit
6ed8c8fcea
18 changed files with 130 additions and 136 deletions
|
@ -511,8 +511,9 @@ void Klass::restore_unshareable_info(TRAPS) {
|
|||
// (same order as class file parsing)
|
||||
loader_data->add_class(this);
|
||||
|
||||
// Recreate the class mirror
|
||||
java_lang_Class::create_mirror(this, CHECK);
|
||||
// Recreate the class mirror. The protection_domain is always null for
|
||||
// boot loader, for now.
|
||||
java_lang_Class::create_mirror(this, Handle(NULL), CHECK);
|
||||
}
|
||||
|
||||
Klass* Klass::array_klass_or_null(int rank) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue