Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1RemSet.inline.hpp @ 4728:441e946dc1af
7121618: Change type of number of GC workers to unsigned int.
Summary: Change variables representing the number of GC workers to uint from int and size_t. Change the parameter in work(int i) to work(uint worker_id).
Reviewed-by: brutisso, tonyp
author | jmasa |
---|---|
date | Wed, 14 Dec 2011 13:34:57 -0800 |
parents | e8b0b0392037 |
children | b4ebad3520bb |
comparison
equal
deleted
inserted
replaced
4727:67fdcb391461 | 4728:441e946dc1af |
---|---|
27 | 27 |
28 #include "gc_implementation/g1/g1RemSet.hpp" | 28 #include "gc_implementation/g1/g1RemSet.hpp" |
29 #include "gc_implementation/g1/heapRegionRemSet.hpp" | 29 #include "gc_implementation/g1/heapRegionRemSet.hpp" |
30 #include "oops/oop.inline.hpp" | 30 #include "oops/oop.inline.hpp" |
31 | 31 |
32 inline size_t G1RemSet::n_workers() { | 32 inline uint G1RemSet::n_workers() { |
33 if (_g1->workers() != NULL) { | 33 if (_g1->workers() != NULL) { |
34 return _g1->workers()->total_workers(); | 34 return _g1->workers()->total_workers(); |
35 } else { | 35 } else { |
36 return 1; | 36 return 1; |
37 } | 37 } |