890
891 if (Exceptions::has_exception_counts()) {
892 st->print_cr("OutOfMemory and StackOverflow Exception counts:");
893 Exceptions::print_exception_counts_on_error(st);
894 st->cr();
895 }
896
897 // STEP("printing compressed oops mode")
898
899 if (UseCompressedOops) {
900 Universe::print_compressed_oops_mode(st);
901 if (UseCompressedClassPointers) {
902 Metaspace::print_compressed_class_space(st);
903 }
904 st->cr();
905 }
906
907 // STEP("printing heap information")
908
909 if (Universe::is_fully_initialized()) {
910 Universe::heap()->print_on_error(st);
911 st->cr();
912 st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
913 st->cr();
914 }
915
916 // STEP("printing code cache information")
917
918 if (Universe::is_fully_initialized()) {
919 // print code cache information before vm abort
920 CodeCache::print_summary(st);
921 st->cr();
922 }
923
924 // STEP("printing ring buffers")
925
926 Events::print_all(st);
927 st->cr();
928
929 // STEP("printing dynamic libraries")
|
890
891 if (Exceptions::has_exception_counts()) {
892 st->print_cr("OutOfMemory and StackOverflow Exception counts:");
893 Exceptions::print_exception_counts_on_error(st);
894 st->cr();
895 }
896
897 // STEP("printing compressed oops mode")
898
899 if (UseCompressedOops) {
900 Universe::print_compressed_oops_mode(st);
901 if (UseCompressedClassPointers) {
902 Metaspace::print_compressed_class_space(st);
903 }
904 st->cr();
905 }
906
907 // STEP("printing heap information")
908
909 if (Universe::is_fully_initialized()) {
910 MutexLocker hl(Heap_lock);
911 Universe::heap()->print_on_error(st);
912 st->cr();
913 st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
914 st->cr();
915 }
916
917 // STEP("printing code cache information")
918
919 if (Universe::is_fully_initialized()) {
920 // print code cache information before vm abort
921 CodeCache::print_summary(st);
922 st->cr();
923 }
924
925 // STEP("printing ring buffers")
926
927 Events::print_all(st);
928 st->cr();
929
930 // STEP("printing dynamic libraries")
|