Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1OopClosures.hpp @ 17844:8847586c9037
8016302: Change type of the number of GC workers to unsigned int (2)
Reviewed-by: tschatzl, jwilhelm
author | vkempik |
---|---|
date | Thu, 03 Apr 2014 17:49:31 +0400 |
parents | bc22cbb8b45a |
children | 52b4284cb496 cd43876f692e |
comparison
equal
deleted
inserted
replaced
17843:81d7a4b28dc5 | 17844:8847586c9037 |
---|---|
232 G1CollectedHeap* _g1; | 232 G1CollectedHeap* _g1; |
233 G1RemSet* _g1_rem_set; | 233 G1RemSet* _g1_rem_set; |
234 HeapRegion* _from; | 234 HeapRegion* _from; |
235 OopsInHeapRegionClosure* _push_ref_cl; | 235 OopsInHeapRegionClosure* _push_ref_cl; |
236 bool _record_refs_into_cset; | 236 bool _record_refs_into_cset; |
237 int _worker_i; | 237 uint _worker_i; |
238 | 238 |
239 public: | 239 public: |
240 G1UpdateRSOrPushRefOopClosure(G1CollectedHeap* g1h, | 240 G1UpdateRSOrPushRefOopClosure(G1CollectedHeap* g1h, |
241 G1RemSet* rs, | 241 G1RemSet* rs, |
242 OopsInHeapRegionClosure* push_ref_cl, | 242 OopsInHeapRegionClosure* push_ref_cl, |
243 bool record_refs_into_cset, | 243 bool record_refs_into_cset, |
244 int worker_i = 0); | 244 uint worker_i = 0); |
245 | 245 |
246 void set_from(HeapRegion* from) { | 246 void set_from(HeapRegion* from) { |
247 assert(from != NULL, "from region must be non-NULL"); | 247 assert(from != NULL, "from region must be non-NULL"); |
248 _from = from; | 248 _from = from; |
249 } | 249 } |