equal
deleted
inserted
replaced
26 #define SHARE_VM_GC_G1_G1REMSET_HPP |
26 #define SHARE_VM_GC_G1_G1REMSET_HPP |
27 |
27 |
28 #include "gc/g1/dirtyCardQueue.hpp" |
28 #include "gc/g1/dirtyCardQueue.hpp" |
29 #include "gc/g1/g1CardTable.hpp" |
29 #include "gc/g1/g1CardTable.hpp" |
30 #include "gc/g1/g1OopClosures.hpp" |
30 #include "gc/g1/g1OopClosures.hpp" |
|
31 #include "gc/g1/g1GCPhaseTimes.hpp" |
31 #include "gc/g1/g1RemSetSummary.hpp" |
32 #include "gc/g1/g1RemSetSummary.hpp" |
32 #include "gc/g1/heapRegion.hpp" |
33 #include "gc/g1/heapRegion.hpp" |
33 #include "memory/allocation.hpp" |
34 #include "memory/allocation.hpp" |
34 #include "memory/iterator.hpp" |
35 #include "memory/iterator.hpp" |
35 #include "utilities/ticks.hpp" |
36 #include "utilities/ticks.hpp" |
136 G1ParScanThreadState* _pss; |
137 G1ParScanThreadState* _pss; |
137 G1ScanObjsDuringScanRSClosure* _scan_objs_on_card_cl; |
138 G1ScanObjsDuringScanRSClosure* _scan_objs_on_card_cl; |
138 |
139 |
139 G1RemSetScanState* _scan_state; |
140 G1RemSetScanState* _scan_state; |
140 |
141 |
|
142 G1GCPhaseTimes::GCParPhases _phase; |
|
143 |
141 uint _worker_i; |
144 uint _worker_i; |
142 |
145 |
143 size_t _cards_scanned; |
146 size_t _cards_scanned; |
144 size_t _cards_claimed; |
147 size_t _cards_claimed; |
145 size_t _cards_skipped; |
148 size_t _cards_skipped; |
157 void scan_strong_code_roots(HeapRegion* r); |
160 void scan_strong_code_roots(HeapRegion* r); |
158 public: |
161 public: |
159 G1ScanRSForRegionClosure(G1RemSetScanState* scan_state, |
162 G1ScanRSForRegionClosure(G1RemSetScanState* scan_state, |
160 G1ScanObjsDuringScanRSClosure* scan_obj_on_card, |
163 G1ScanObjsDuringScanRSClosure* scan_obj_on_card, |
161 G1ParScanThreadState* pss, |
164 G1ParScanThreadState* pss, |
|
165 G1GCPhaseTimes::GCParPhases phase, |
162 uint worker_i); |
166 uint worker_i); |
163 |
167 |
164 bool do_heap_region(HeapRegion* r); |
168 bool do_heap_region(HeapRegion* r); |
165 |
169 |
166 Tickspan rem_set_root_scan_time() const { return _rem_set_root_scan_time; } |
170 Tickspan rem_set_root_scan_time() const { return _rem_set_root_scan_time; } |