mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8202447: Fix unloading_occurred to mean unloading_occurred
Nmethod unloading does not need to test for jvmti to set unloading_occurred, nor do we need to clean weak Klasses in metadata if unloading does not occur. Reviewed-by: sspitsyn, rehn
This commit is contained in:
parent
9353d59547
commit
204ba9a580
11 changed files with 32 additions and 53 deletions
|
@ -2140,7 +2140,7 @@ void PSParallelCompact::marking_phase(ParCompactionManager* cm,
|
|||
CodeCache::do_unloading(is_alive_closure(), purged_class);
|
||||
|
||||
// Prune dead klasses from subklass/sibling/implementor lists.
|
||||
Klass::clean_weak_klass_links();
|
||||
Klass::clean_weak_klass_links(purged_class);
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue