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

changeset 6552
8847586c9037
parent 2314
f95d63e2154a
child 6876
710a3c8b516e
child 6906
581e70386ec9
equal deleted inserted replaced
6551:81d7a4b28dc5 6552: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;

mercurial