mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
Merge
This commit is contained in:
commit
fc336457e7
47 changed files with 1204 additions and 428 deletions
|
@ -2178,7 +2178,11 @@ void InstanceKlass::clean_implementors_list(BoolObjectClosure* is_alive) {
|
|||
if (impl != NULL) {
|
||||
if (!impl->is_loader_alive(is_alive)) {
|
||||
// remove this guy
|
||||
*adr_implementor() = NULL;
|
||||
Klass** klass = adr_implementor();
|
||||
assert(klass != NULL, "null klass");
|
||||
if (klass != NULL) {
|
||||
*klass = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3159,9 +3163,10 @@ void InstanceKlass::verify_on(outputStream* st) {
|
|||
if (protection_domain() != NULL) {
|
||||
guarantee(protection_domain()->is_oop(), "should be oop");
|
||||
}
|
||||
if (host_klass() != NULL) {
|
||||
guarantee(host_klass()->is_metadata(), "should be in metaspace");
|
||||
guarantee(host_klass()->is_klass(), "should be klass");
|
||||
const Klass* host = host_klass();
|
||||
if (host != NULL) {
|
||||
guarantee(host->is_metadata(), "should be in metaspace");
|
||||
guarantee(host->is_klass(), "should be klass");
|
||||
}
|
||||
if (signers() != NULL) {
|
||||
guarantee(signers()->is_objArray(), "should be obj array");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue