equal
deleted
inserted
replaced
2831 shared_dictionary()->print_on(st); |
2831 shared_dictionary()->print_on(st); |
2832 } |
2832 } |
2833 |
2833 |
2834 void SystemDictionary::print_on(outputStream *st) { |
2834 void SystemDictionary::print_on(outputStream *st) { |
2835 if (shared_dictionary() != NULL) { |
2835 if (shared_dictionary() != NULL) { |
2836 tty->print_cr("Shared Dictionary"); |
2836 st->print_cr("Shared Dictionary"); |
2837 shared_dictionary()->print_on(st); |
2837 shared_dictionary()->print_on(st); |
|
2838 st->cr(); |
2838 } |
2839 } |
2839 |
2840 |
2840 GCMutexLocker mu(SystemDictionary_lock); |
2841 GCMutexLocker mu(SystemDictionary_lock); |
2841 |
2842 |
2842 ClassLoaderDataGraph::print_dictionary(st); |
2843 ClassLoaderDataGraph::print_dictionary(st); |
2876 void SystemDictionary::dump(outputStream *st, bool verbose) { |
2877 void SystemDictionary::dump(outputStream *st, bool verbose) { |
2877 assert_locked_or_safepoint(SystemDictionary_lock); |
2878 assert_locked_or_safepoint(SystemDictionary_lock); |
2878 if (verbose) { |
2879 if (verbose) { |
2879 print_on(st); |
2880 print_on(st); |
2880 } else { |
2881 } else { |
|
2882 if (shared_dictionary() != NULL) { |
|
2883 shared_dictionary()->print_table_statistics(st, "Shared Dictionary"); |
|
2884 } |
2881 ClassLoaderDataGraph::print_dictionary_statistics(st); |
2885 ClassLoaderDataGraph::print_dictionary_statistics(st); |
2882 placeholders()->print_table_statistics(st, "Placeholder Table"); |
2886 placeholders()->print_table_statistics(st, "Placeholder Table"); |
2883 constraints()->print_table_statistics(st, "LoaderConstraints Table"); |
2887 constraints()->print_table_statistics(st, "LoaderConstraints Table"); |
2884 _pd_cache_table->print_table_statistics(st, "ProtectionDomainCache Table"); |
2888 _pd_cache_table->print_table_statistics(st, "ProtectionDomainCache Table"); |
2885 } |
2889 } |