2847 assert_locked_or_safepoint(SystemDictionary_lock); |
2847 assert_locked_or_safepoint(SystemDictionary_lock); |
2848 if (verbose) { |
2848 if (verbose) { |
2849 print_on(st); |
2849 print_on(st); |
2850 } else { |
2850 } else { |
2851 CDS_ONLY(SystemDictionaryShared::print_table_statistics(st)); |
2851 CDS_ONLY(SystemDictionaryShared::print_table_statistics(st)); |
2852 ClassLoaderDataGraph::print_dictionary_statistics(st); |
2852 ClassLoaderDataGraph::print_table_statistics(st); |
2853 placeholders()->print_table_statistics(st, "Placeholder Table"); |
2853 placeholders()->print_table_statistics(st, "Placeholder Table"); |
2854 constraints()->print_table_statistics(st, "LoaderConstraints Table"); |
2854 constraints()->print_table_statistics(st, "LoaderConstraints Table"); |
2855 _pd_cache_table->print_table_statistics(st, "ProtectionDomainCache Table"); |
2855 pd_cache_table()->print_table_statistics(st, "ProtectionDomainCache Table"); |
2856 } |
2856 } |
|
2857 } |
|
2858 |
|
2859 TableStatistics SystemDictionary::placeholders_statistics() { |
|
2860 return placeholders()->statistics_calculate(); |
|
2861 } |
|
2862 |
|
2863 TableStatistics SystemDictionary::loader_constraints_statistics() { |
|
2864 return constraints()->statistics_calculate(); |
|
2865 } |
|
2866 |
|
2867 TableStatistics SystemDictionary::protection_domain_cache_statistics() { |
|
2868 return pd_cache_table()->statistics_calculate(); |
2857 } |
2869 } |
2858 |
2870 |
2859 // Utility for dumping dictionaries. |
2871 // Utility for dumping dictionaries. |
2860 SystemDictionaryDCmd::SystemDictionaryDCmd(outputStream* output, bool heap) : |
2872 SystemDictionaryDCmd::SystemDictionaryDCmd(outputStream* output, bool heap) : |
2861 DCmdWithParser(output, heap), |
2873 DCmdWithParser(output, heap), |