mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8208677: Move inner metaspace cleaning out of class unloading
Move to safepoint cleanup actions to do if needed. Reviewed-by: eosterlund, hseigel
This commit is contained in:
parent
149026aa65
commit
a7b66f6f5e
10 changed files with 94 additions and 31 deletions
|
@ -237,6 +237,9 @@ void VM_RedefineClasses::doit() {
|
|||
#ifdef PRODUCT
|
||||
}
|
||||
#endif
|
||||
|
||||
// Clean up any metadata now unreferenced while MetadataOnStackMark is set.
|
||||
ClassLoaderDataGraph::clean_deallocate_lists(false);
|
||||
}
|
||||
|
||||
void VM_RedefineClasses::doit_epilogue() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue