equal
deleted
inserted
replaced
32 #include "gc_implementation/g1/heapRegionSeq.inline.hpp" |
32 #include "gc_implementation/g1/heapRegionSeq.inline.hpp" |
33 #include "memory/genOopClosures.inline.hpp" |
33 #include "memory/genOopClosures.inline.hpp" |
34 #include "memory/iterator.hpp" |
34 #include "memory/iterator.hpp" |
35 #include "oops/oop.inline.hpp" |
35 #include "oops/oop.inline.hpp" |
36 #include "runtime/orderAccess.inline.hpp" |
36 #include "runtime/orderAccess.inline.hpp" |
|
37 |
|
38 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC |
37 |
39 |
38 int HeapRegion::LogOfHRGrainBytes = 0; |
40 int HeapRegion::LogOfHRGrainBytes = 0; |
39 int HeapRegion::LogOfHRGrainWords = 0; |
41 int HeapRegion::LogOfHRGrainWords = 0; |
40 size_t HeapRegion::GrainBytes = 0; |
42 size_t HeapRegion::GrainBytes = 0; |
41 size_t HeapRegion::GrainWords = 0; |
43 size_t HeapRegion::GrainWords = 0; |
825 if (!_g1h->is_in_closed_subset(obj) || _g1h->is_obj_dead_cond(obj, _vo)) { |
827 if (!_g1h->is_in_closed_subset(obj) || _g1h->is_obj_dead_cond(obj, _vo)) { |
826 MutexLockerEx x(ParGCRareEvent_lock, |
828 MutexLockerEx x(ParGCRareEvent_lock, |
827 Mutex::_no_safepoint_check_flag); |
829 Mutex::_no_safepoint_check_flag); |
828 |
830 |
829 if (!_failures) { |
831 if (!_failures) { |
830 gclog_or_tty->print_cr(""); |
832 gclog_or_tty->cr(); |
831 gclog_or_tty->print_cr("----------"); |
833 gclog_or_tty->print_cr("----------"); |
832 } |
834 } |
833 if (!_g1h->is_in_closed_subset(obj)) { |
835 if (!_g1h->is_in_closed_subset(obj)) { |
834 HeapRegion* from = _g1h->heap_region_containing((HeapWord*)p); |
836 HeapRegion* from = _g1h->heap_region_containing((HeapWord*)p); |
835 gclog_or_tty->print_cr("Field "PTR_FORMAT |
837 gclog_or_tty->print_cr("Field "PTR_FORMAT |
880 if (is_bad) { |
882 if (is_bad) { |
881 MutexLockerEx x(ParGCRareEvent_lock, |
883 MutexLockerEx x(ParGCRareEvent_lock, |
882 Mutex::_no_safepoint_check_flag); |
884 Mutex::_no_safepoint_check_flag); |
883 |
885 |
884 if (!_failures) { |
886 if (!_failures) { |
885 gclog_or_tty->print_cr(""); |
887 gclog_or_tty->cr(); |
886 gclog_or_tty->print_cr("----------"); |
888 gclog_or_tty->print_cr("----------"); |
887 } |
889 } |
888 gclog_or_tty->print_cr("Missing rem set entry:"); |
890 gclog_or_tty->print_cr("Missing rem set entry:"); |
889 gclog_or_tty->print_cr("Field "PTR_FORMAT" " |
891 gclog_or_tty->print_cr("Field "PTR_FORMAT" " |
890 "of obj "PTR_FORMAT", " |
892 "of obj "PTR_FORMAT", " |