mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8252043: Move inner class metaspace cleaning out of safepoint cleanup tasks
Clean up inner metaspaces from ServiceThread if cleanup is needed for concurrent GCs. Reviewed-by: eosterlund, pchilanomate
This commit is contained in:
parent
9d00332ee5
commit
fac22ce20c
14 changed files with 60 additions and 28 deletions
|
@ -1056,7 +1056,7 @@ void PSParallelCompact::post_compact()
|
|||
}
|
||||
|
||||
// Delete metaspaces for unloaded class loaders and clean up loader_data graph
|
||||
ClassLoaderDataGraph::purge();
|
||||
ClassLoaderDataGraph::purge(/*at_safepoint*/true);
|
||||
MetaspaceUtils::verify_metrics();
|
||||
|
||||
heap->prune_scavengable_nmethods();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue