mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8206424: Use locking for cleaning ProtectionDomainTable
ServiceThread is now in charge of cleaning ProtectionDomainTable entries Reviewed-by: coleenp, iklam
This commit is contained in:
parent
98242123a3
commit
16b92a561c
8 changed files with 141 additions and 5 deletions
|
@ -1884,7 +1884,7 @@ bool SystemDictionary::do_unloading(GCTimer* gc_timer,
|
|||
// Oops referenced by the protection domain cache table may get unreachable independently
|
||||
// of the class loader (eg. cached protection domain oops). So we need to
|
||||
// explicitly unlink them here.
|
||||
_pd_cache_table->unlink();
|
||||
_pd_cache_table->trigger_cleanup();
|
||||
}
|
||||
|
||||
if (do_cleaning) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue