mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8185525: Add JFR event for DictionarySizes
Added TableStatistics event Reviewed-by: egahlin, coleenp
This commit is contained in:
parent
c5fc45ee08
commit
d988e67b89
22 changed files with 594 additions and 75 deletions
|
@ -2849,13 +2849,25 @@ void SystemDictionary::dump(outputStream *st, bool verbose) {
|
|||
print_on(st);
|
||||
} else {
|
||||
CDS_ONLY(SystemDictionaryShared::print_table_statistics(st));
|
||||
ClassLoaderDataGraph::print_dictionary_statistics(st);
|
||||
ClassLoaderDataGraph::print_table_statistics(st);
|
||||
placeholders()->print_table_statistics(st, "Placeholder Table");
|
||||
constraints()->print_table_statistics(st, "LoaderConstraints Table");
|
||||
_pd_cache_table->print_table_statistics(st, "ProtectionDomainCache Table");
|
||||
pd_cache_table()->print_table_statistics(st, "ProtectionDomainCache Table");
|
||||
}
|
||||
}
|
||||
|
||||
TableStatistics SystemDictionary::placeholders_statistics() {
|
||||
return placeholders()->statistics_calculate();
|
||||
}
|
||||
|
||||
TableStatistics SystemDictionary::loader_constraints_statistics() {
|
||||
return constraints()->statistics_calculate();
|
||||
}
|
||||
|
||||
TableStatistics SystemDictionary::protection_domain_cache_statistics() {
|
||||
return pd_cache_table()->statistics_calculate();
|
||||
}
|
||||
|
||||
// Utility for dumping dictionaries.
|
||||
SystemDictionaryDCmd::SystemDictionaryDCmd(outputStream* output, bool heap) :
|
||||
DCmdWithParser(output, heap),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue