equal
deleted
inserted
replaced
34 #include "gc_implementation/g1/g1RemSet.inline.hpp" |
34 #include "gc_implementation/g1/g1RemSet.inline.hpp" |
35 #include "gc_implementation/g1/heapRegionSeq.inline.hpp" |
35 #include "gc_implementation/g1/heapRegionSeq.inline.hpp" |
36 #include "gc_implementation/g1/heapRegionRemSet.hpp" |
36 #include "gc_implementation/g1/heapRegionRemSet.hpp" |
37 #include "memory/iterator.hpp" |
37 #include "memory/iterator.hpp" |
38 #include "oops/oop.inline.hpp" |
38 #include "oops/oop.inline.hpp" |
|
39 #include "utilities/globalDefinitions.hpp" |
39 #include "utilities/intHisto.hpp" |
40 #include "utilities/intHisto.hpp" |
40 |
41 |
41 #define CARD_REPEAT_HISTO 0 |
42 #define CARD_REPEAT_HISTO 0 |
42 |
43 |
43 #if CARD_REPEAT_HISTO |
44 #if CARD_REPEAT_HISTO |
161 } |
162 } |
162 |
163 |
163 void printCard(HeapRegion* card_region, size_t card_index, |
164 void printCard(HeapRegion* card_region, size_t card_index, |
164 HeapWord* card_start) { |
165 HeapWord* card_start) { |
165 gclog_or_tty->print_cr("T %u Region [" PTR_FORMAT ", " PTR_FORMAT ") " |
166 gclog_or_tty->print_cr("T %u Region [" PTR_FORMAT ", " PTR_FORMAT ") " |
166 "RS names card %p: " |
167 "RS names card " SIZE_FORMAT_HEX ": " |
167 "[" PTR_FORMAT ", " PTR_FORMAT ")", |
168 "[" PTR_FORMAT ", " PTR_FORMAT ")", |
168 _worker_i, |
169 _worker_i, |
169 card_region->bottom(), card_region->end(), |
170 card_region->bottom(), card_region->end(), |
170 card_index, |
171 card_index, |
171 card_start, card_start + G1BlockOffsetSharedArray::N_words); |
172 card_start, card_start + G1BlockOffsetSharedArray::N_words); |