Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/concurrentG1RefineThread.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 | f95d63e2154a |
children | 581e70386ec9 |
comparison
equal
deleted
inserted
replaced
17843:81d7a4b28dc5 | 17844:8847586c9037 |
---|---|
36 friend class VMStructs; | 36 friend class VMStructs; |
37 friend class G1CollectedHeap; | 37 friend class G1CollectedHeap; |
38 | 38 |
39 double _vtime_start; // Initial virtual time. | 39 double _vtime_start; // Initial virtual time. |
40 double _vtime_accum; // Initial virtual time. | 40 double _vtime_accum; // Initial virtual time. |
41 int _worker_id; | 41 uint _worker_id; |
42 int _worker_id_offset; | 42 uint _worker_id_offset; |
43 | 43 |
44 // The refinement threads collection is linked list. A predecessor can activate a successor | 44 // The refinement threads collection is linked list. A predecessor can activate a successor |
45 // when the number of the rset update buffer crosses a certain threshold. A successor | 45 // when the number of the rset update buffer crosses a certain threshold. A successor |
46 // would self-deactivate when the number of the buffers falls below the threshold. | 46 // would self-deactivate when the number of the buffers falls below the threshold. |
47 bool _active; | 47 bool _active; |
69 | 69 |
70 public: | 70 public: |
71 virtual void run(); | 71 virtual void run(); |
72 // Constructor | 72 // Constructor |
73 ConcurrentG1RefineThread(ConcurrentG1Refine* cg1r, ConcurrentG1RefineThread* next, | 73 ConcurrentG1RefineThread(ConcurrentG1Refine* cg1r, ConcurrentG1RefineThread* next, |
74 int worker_id_offset, int worker_id); | 74 uint worker_id_offset, uint worker_id); |
75 | 75 |
76 void initialize(); | 76 void initialize(); |
77 | 77 |
78 // Printing | 78 // Printing |
79 void print() const; | 79 void print() const; |