< prev index next >

src/hotspot/share/utilities/vmError.cpp

Print this page
rev 49926 : [mq]: 8201572-improve-metaspace-reporting


 845 
 846   STEP("printing compressed oops mode")
 847 
 848      if (_verbose && UseCompressedOops) {
 849        Universe::print_compressed_oops_mode(st);
 850        if (UseCompressedClassPointers) {
 851          Metaspace::print_compressed_class_space(st);
 852        }
 853        st->cr();
 854      }
 855 
 856   STEP("printing heap information")
 857 
 858      if (_verbose && Universe::is_fully_initialized()) {
 859        Universe::heap()->print_on_error(st);
 860        st->cr();
 861        st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
 862        st->cr();
 863      }
 864 







 865   STEP("printing code cache information")
 866 
 867      if (_verbose && Universe::is_fully_initialized()) {
 868        // print code cache information before vm abort
 869        CodeCache::print_summary(st);
 870        st->cr();
 871      }
 872 
 873   STEP("printing ring buffers")
 874 
 875      if (_verbose) {
 876        Events::print_all(st);
 877        st->cr();
 878      }
 879 
 880   STEP("printing dynamic libraries")
 881 
 882      if (_verbose) {
 883        // dynamic libraries, or memory map
 884        os::print_dll_info(st);


1027   }
1028 
1029   // STEP("printing compressed oops mode")
1030 
1031   if (UseCompressedOops) {
1032     Universe::print_compressed_oops_mode(st);
1033     if (UseCompressedClassPointers) {
1034       Metaspace::print_compressed_class_space(st);
1035     }
1036     st->cr();
1037   }
1038 
1039   // STEP("printing heap information")
1040 
1041   if (Universe::is_fully_initialized()) {
1042     MutexLocker hl(Heap_lock);
1043     Universe::heap()->print_on_error(st);
1044     st->cr();
1045     st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
1046     st->cr();







1047   }
1048 
1049   // STEP("printing code cache information")
1050 
1051   if (Universe::is_fully_initialized()) {
1052     // print code cache information before vm abort
1053     CodeCache::print_summary(st);
1054     st->cr();
1055   }
1056 
1057   // STEP("printing ring buffers")
1058 
1059   Events::print_all(st);
1060   st->cr();
1061 
1062   // STEP("printing dynamic libraries")
1063 
1064   // dynamic libraries, or memory map
1065   os::print_dll_info(st);
1066   st->cr();




 845 
 846   STEP("printing compressed oops mode")
 847 
 848      if (_verbose && UseCompressedOops) {
 849        Universe::print_compressed_oops_mode(st);
 850        if (UseCompressedClassPointers) {
 851          Metaspace::print_compressed_class_space(st);
 852        }
 853        st->cr();
 854      }
 855 
 856   STEP("printing heap information")
 857 
 858      if (_verbose && Universe::is_fully_initialized()) {
 859        Universe::heap()->print_on_error(st);
 860        st->cr();
 861        st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
 862        st->cr();
 863      }
 864 
 865   STEP("printing metaspace information")
 866 
 867      if (_verbose && Universe::is_fully_initialized()) {
 868        st->print_cr("Metaspace:");
 869        MetaspaceUtils::print_basic_report(st, 0);
 870      }
 871 
 872   STEP("printing code cache information")
 873 
 874      if (_verbose && Universe::is_fully_initialized()) {
 875        // print code cache information before vm abort
 876        CodeCache::print_summary(st);
 877        st->cr();
 878      }
 879 
 880   STEP("printing ring buffers")
 881 
 882      if (_verbose) {
 883        Events::print_all(st);
 884        st->cr();
 885      }
 886 
 887   STEP("printing dynamic libraries")
 888 
 889      if (_verbose) {
 890        // dynamic libraries, or memory map
 891        os::print_dll_info(st);


1034   }
1035 
1036   // STEP("printing compressed oops mode")
1037 
1038   if (UseCompressedOops) {
1039     Universe::print_compressed_oops_mode(st);
1040     if (UseCompressedClassPointers) {
1041       Metaspace::print_compressed_class_space(st);
1042     }
1043     st->cr();
1044   }
1045 
1046   // STEP("printing heap information")
1047 
1048   if (Universe::is_fully_initialized()) {
1049     MutexLocker hl(Heap_lock);
1050     Universe::heap()->print_on_error(st);
1051     st->cr();
1052     st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
1053     st->cr();
1054   }
1055 
1056   // STEP("printing metaspace information")
1057 
1058   if (Universe::is_fully_initialized()) {
1059     st->print_cr("Metaspace:");
1060     MetaspaceUtils::print_basic_report(st, 0);
1061   }
1062 
1063   // STEP("printing code cache information")
1064 
1065   if (Universe::is_fully_initialized()) {
1066     // print code cache information before vm abort
1067     CodeCache::print_summary(st);
1068     st->cr();
1069   }
1070 
1071   // STEP("printing ring buffers")
1072 
1073   Events::print_all(st);
1074   st->cr();
1075 
1076   // STEP("printing dynamic libraries")
1077 
1078   // dynamic libraries, or memory map
1079   os::print_dll_info(st);
1080   st->cr();


< prev index next >