equal
deleted
inserted
replaced
92 return _dest[original.type()]; |
92 return _dest[original.type()]; |
93 } |
93 } |
94 |
94 |
95 size_t _num_optional_regions; |
95 size_t _num_optional_regions; |
96 G1OopStarChunkedList* _oops_into_optional_regions; |
96 G1OopStarChunkedList* _oops_into_optional_regions; |
|
97 |
|
98 G1NUMA* _numa; |
|
99 |
|
100 // Records how many object allocations happened at each node during copy to survivor. |
|
101 // Only starts recording when log of gc+heap+numa is enabled and its data is |
|
102 // transferred when flushed. |
|
103 size_t* _obj_alloc_stat; |
97 |
104 |
98 public: |
105 public: |
99 G1ParScanThreadState(G1CollectedHeap* g1h, |
106 G1ParScanThreadState(G1CollectedHeap* g1h, |
100 G1RedirtyCardsQueueSet* rdcqs, |
107 G1RedirtyCardsQueueSet* rdcqs, |
101 uint worker_id, |
108 uint worker_id, |
205 |
212 |
206 inline bool needs_partial_trimming() const; |
213 inline bool needs_partial_trimming() const; |
207 inline bool is_partially_trimmed() const; |
214 inline bool is_partially_trimmed() const; |
208 |
215 |
209 inline void trim_queue_to_threshold(uint threshold); |
216 inline void trim_queue_to_threshold(uint threshold); |
|
217 |
|
218 // NUMA statistics related methods. |
|
219 inline void initialize_numa_stats(); |
|
220 inline void flush_numa_stats(); |
|
221 inline void update_numa_stats(uint node_index); |
|
222 |
210 public: |
223 public: |
211 oop copy_to_survivor_space(G1HeapRegionAttr const region_attr, oop const obj, markWord const old_mark); |
224 oop copy_to_survivor_space(G1HeapRegionAttr const region_attr, oop const obj, markWord const old_mark); |
212 |
225 |
213 void trim_queue(); |
226 void trim_queue(); |
214 void trim_queue_partially(); |
227 void trim_queue_partially(); |