src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp

changeset 6552
8847586c9037
parent 5204
e72f7eecc96d
child 6876
710a3c8b516e
child 6930
570cb6369f17
     1.1 --- a/src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp	Tue Apr 08 14:55:16 2014 -0700
     1.2 +++ b/src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp	Thu Apr 03 17:49:31 2014 +0400
     1.3 @@ -39,8 +39,8 @@
     1.4  
     1.5  class ConcurrentG1Refine: public CHeapObj<mtGC> {
     1.6    ConcurrentG1RefineThread** _threads;
     1.7 -  int _n_threads;
     1.8 -  int _n_worker_threads;
     1.9 +  uint _n_threads;
    1.10 +  uint _n_worker_threads;
    1.11   /*
    1.12    * The value of the update buffer queue length falls into one of 3 zones:
    1.13    * green, yellow, red. If the value is in [0, green) nothing is
    1.14 @@ -88,7 +88,7 @@
    1.15    // The RS sampling thread
    1.16    ConcurrentG1RefineThread * sampling_thread() const;
    1.17  
    1.18 -  static int thread_num();
    1.19 +  static uint thread_num();
    1.20  
    1.21    void print_worker_threads_on(outputStream* st) const;
    1.22  
    1.23 @@ -100,8 +100,8 @@
    1.24    int yellow_zone() const     { return _yellow_zone; }
    1.25    int red_zone() const        { return _red_zone;    }
    1.26  
    1.27 -  int total_thread_num() const  { return _n_threads;        }
    1.28 -  int worker_thread_num() const { return _n_worker_threads; }
    1.29 +  uint total_thread_num() const  { return _n_threads;        }
    1.30 +  uint worker_thread_num() const { return _n_worker_threads; }
    1.31  
    1.32    int thread_threshold_step() const { return _thread_threshold_step; }
    1.33  

mercurial