714
715 if (_verbose && Exceptions::has_exception_counts()) {
716 st->print_cr("OutOfMemory and StackOverflow Exception counts:");
717 Exceptions::print_exception_counts_on_error(st);
718 st->cr();
719 }
720
721 STEP("printing compressed oops mode")
722
723 if (_verbose && UseCompressedOops) {
724 Universe::print_compressed_oops_mode(st);
725 if (UseCompressedClassPointers) {
726 Metaspace::print_compressed_class_space(st);
727 }
728 st->cr();
729 }
730
731 STEP("printing heap information")
732
733 if (_verbose && Universe::is_fully_initialized()) {
734 Universe::heap()->print_on_error(st);
735 st->cr();
736 st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
737 st->cr();
738 }
739
740 STEP("printing code cache information")
741
742 if (_verbose && Universe::is_fully_initialized()) {
743 // print code cache information before vm abort
744 CodeCache::print_summary(st);
745 st->cr();
746 }
747
748 STEP("printing ring buffers")
749
750 if (_verbose) {
751 Events::print_all(st);
752 st->cr();
753 }
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")
|
714
715 if (_verbose && Exceptions::has_exception_counts()) {
716 st->print_cr("OutOfMemory and StackOverflow Exception counts:");
717 Exceptions::print_exception_counts_on_error(st);
718 st->cr();
719 }
720
721 STEP("printing compressed oops mode")
722
723 if (_verbose && UseCompressedOops) {
724 Universe::print_compressed_oops_mode(st);
725 if (UseCompressedClassPointers) {
726 Metaspace::print_compressed_class_space(st);
727 }
728 st->cr();
729 }
730
731 STEP("printing heap information")
732
733 if (_verbose && Universe::is_fully_initialized()) {
734 MutexLockerEx hl(Heap_lock, true); // No safepoint check
735 Universe::heap()->print_on_error(st);
736 st->cr();
737 st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
738 st->cr();
739 }
740
741 STEP("printing code cache information")
742
743 if (_verbose && Universe::is_fully_initialized()) {
744 // print code cache information before vm abort
745 CodeCache::print_summary(st);
746 st->cr();
747 }
748
749 STEP("printing ring buffers")
750
751 if (_verbose) {
752 Events::print_all(st);
753 st->cr();
754 }
891
892 if (Exceptions::has_exception_counts()) {
893 st->print_cr("OutOfMemory and StackOverflow Exception counts:");
894 Exceptions::print_exception_counts_on_error(st);
895 st->cr();
896 }
897
898 // STEP("printing compressed oops mode")
899
900 if (UseCompressedOops) {
901 Universe::print_compressed_oops_mode(st);
902 if (UseCompressedClassPointers) {
903 Metaspace::print_compressed_class_space(st);
904 }
905 st->cr();
906 }
907
908 // STEP("printing heap information")
909
910 if (Universe::is_fully_initialized()) {
911 MutexLocker hl(Heap_lock);
912 Universe::heap()->print_on_error(st);
913 st->cr();
914 st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
915 st->cr();
916 }
917
918 // STEP("printing code cache information")
919
920 if (Universe::is_fully_initialized()) {
921 // print code cache information before vm abort
922 CodeCache::print_summary(st);
923 st->cr();
924 }
925
926 // STEP("printing ring buffers")
927
928 Events::print_all(st);
929 st->cr();
930
931 // STEP("printing dynamic libraries")
|