mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support
Change the _host_klass to be conditionally created embedded instanceKlass field. Reviewed-by: jrose, coleenp, dholmes
This commit is contained in:
parent
ea89242447
commit
2fa131f8db
7 changed files with 132 additions and 49 deletions
|
@ -1862,7 +1862,7 @@ void instanceKlass::follow_weak_klass_links(
|
|||
if (impl != NULL) {
|
||||
if (!is_alive->do_object_b(impl)) {
|
||||
// remove this guy
|
||||
*start_of_implementor() = NULL;
|
||||
*adr_implementor() = NULL;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue