src/hotspot/share/classfile/systemDictionary.cpp
changeset 55419 3e08fa647eea
parent 54847 59ea39bb2809
child 55537 4309fedaf7dc
equal deleted inserted replaced
55418:922a4a554807 55419:3e08fa647eea
  2859     pd_cache_table()->print_table_statistics(st, "ProtectionDomainCache Table");
  2859     pd_cache_table()->print_table_statistics(st, "ProtectionDomainCache Table");
  2860   }
  2860   }
  2861 }
  2861 }
  2862 
  2862 
  2863 TableStatistics SystemDictionary::placeholders_statistics() {
  2863 TableStatistics SystemDictionary::placeholders_statistics() {
       
  2864   MutexLocker ml(SystemDictionary_lock);
  2864   return placeholders()->statistics_calculate();
  2865   return placeholders()->statistics_calculate();
  2865 }
  2866 }
  2866 
  2867 
  2867 TableStatistics SystemDictionary::loader_constraints_statistics() {
  2868 TableStatistics SystemDictionary::loader_constraints_statistics() {
       
  2869   MutexLocker ml(SystemDictionary_lock);
  2868   return constraints()->statistics_calculate();
  2870   return constraints()->statistics_calculate();
  2869 }
  2871 }
  2870 
  2872 
  2871 TableStatistics SystemDictionary::protection_domain_cache_statistics() {
  2873 TableStatistics SystemDictionary::protection_domain_cache_statistics() {
       
  2874   MutexLocker ml(SystemDictionary_lock);
  2872   return pd_cache_table()->statistics_calculate();
  2875   return pd_cache_table()->statistics_calculate();
  2873 }
  2876 }
  2874 
  2877 
  2875 // Utility for dumping dictionaries.
  2878 // Utility for dumping dictionaries.
  2876 SystemDictionaryDCmd::SystemDictionaryDCmd(outputStream* output, bool heap) :
  2879 SystemDictionaryDCmd::SystemDictionaryDCmd(outputStream* output, bool heap) :