< prev index next >

src/hotspot/share/utilities/vmError.cpp

Print this page
rev 49870 : 8201572: Improve Metaspace reporting
Reviewed-by:


 853 
 854   STEP("printing compressed oops mode")
 855 
 856      if (_verbose && UseCompressedOops) {
 857        Universe::print_compressed_oops_mode(st);
 858        if (UseCompressedClassPointers) {
 859          Metaspace::print_compressed_class_space(st);
 860        }
 861        st->cr();
 862      }
 863 
 864   STEP("printing heap information")
 865 
 866      if (_verbose && Universe::is_fully_initialized()) {
 867        Universe::heap()->print_on_error(st);
 868        st->cr();
 869        st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
 870        st->cr();
 871      }
 872 







 873   STEP("printing code cache information")
 874 
 875      if (_verbose && Universe::is_fully_initialized()) {
 876        // print code cache information before vm abort
 877        CodeCache::print_summary(st);
 878        st->cr();
 879      }
 880 
 881   STEP("printing ring buffers")
 882 
 883      if (_verbose) {
 884        Events::print_all(st);
 885        st->cr();
 886      }
 887 
 888   STEP("printing dynamic libraries")
 889 
 890      if (_verbose) {
 891        // dynamic libraries, or memory map
 892        os::print_dll_info(st);


1035   }
1036 
1037   // STEP("printing compressed oops mode")
1038 
1039   if (UseCompressedOops) {
1040     Universe::print_compressed_oops_mode(st);
1041     if (UseCompressedClassPointers) {
1042       Metaspace::print_compressed_class_space(st);
1043     }
1044     st->cr();
1045   }
1046 
1047   // STEP("printing heap information")
1048 
1049   if (Universe::is_fully_initialized()) {
1050     MutexLocker hl(Heap_lock);
1051     Universe::heap()->print_on_error(st);
1052     st->cr();
1053     st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
1054     st->cr();







1055   }
1056 
1057   // STEP("printing code cache information")
1058 
1059   if (Universe::is_fully_initialized()) {
1060     // print code cache information before vm abort
1061     CodeCache::print_summary(st);
1062     st->cr();
1063   }
1064 
1065   // STEP("printing ring buffers")
1066 
1067   Events::print_all(st);
1068   st->cr();
1069 
1070   // STEP("printing dynamic libraries")
1071 
1072   // dynamic libraries, or memory map
1073   os::print_dll_info(st);
1074   st->cr();




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


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


< prev index next >