mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8264644: Add PrintClassLoaderDataGraphAtExit to print the detailed CLD graph
Reviewed-by: coleenp, dholmes, shade
This commit is contained in:
parent
b1ebf82269
commit
440c34a62b
6 changed files with 61 additions and 15 deletions
|
@ -325,6 +325,11 @@ void print_statistics() {
|
|||
ResourceMark rm;
|
||||
MutexLocker mcld(ClassLoaderDataGraph_lock);
|
||||
SystemDictionary::print();
|
||||
}
|
||||
|
||||
if (PrintClassLoaderDataGraphAtExit) {
|
||||
ResourceMark rm;
|
||||
MutexLocker mcld(ClassLoaderDataGraph_lock);
|
||||
ClassLoaderDataGraph::print();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue