equal
deleted
inserted
replaced
29 |
29 |
30 // The Concurrent Mark GC Thread triggers the parallel G1CMConcurrentMarkingTasks |
30 // The Concurrent Mark GC Thread triggers the parallel G1CMConcurrentMarkingTasks |
31 // as well as handling various marking cleanup. |
31 // as well as handling various marking cleanup. |
32 |
32 |
33 class G1ConcurrentMark; |
33 class G1ConcurrentMark; |
34 class G1CollectorPolicy; |
34 class G1Policy; |
35 |
35 |
36 class ConcurrentMarkThread: public ConcurrentGCThread { |
36 class ConcurrentMarkThread: public ConcurrentGCThread { |
37 friend class VMStructs; |
37 friend class VMStructs; |
38 |
38 |
39 double _vtime_start; // Initial virtual time. |
39 double _vtime_start; // Initial virtual time. |
49 }; |
49 }; |
50 |
50 |
51 volatile State _state; |
51 volatile State _state; |
52 |
52 |
53 void sleepBeforeNextCycle(); |
53 void sleepBeforeNextCycle(); |
54 void delay_to_keep_mmu(G1CollectorPolicy* g1_policy, bool remark); |
54 void delay_to_keep_mmu(G1Policy* g1_policy, bool remark); |
55 |
55 |
56 void run_service(); |
56 void run_service(); |
57 void stop_service(); |
57 void stop_service(); |
58 |
58 |
59 public: |
59 public: |