equal
deleted
inserted
replaced
72 #undef CONCURRENT_PHASE_ENUM |
72 #undef CONCURRENT_PHASE_ENUM |
73 PHASE_ID_LIMIT |
73 PHASE_ID_LIMIT |
74 }; |
74 }; |
75 }; |
75 }; |
76 |
76 |
77 // The CM thread is created when the G1 garbage collector is used |
|
78 |
|
79 G1ConcurrentMarkThread::G1ConcurrentMarkThread(G1ConcurrentMark* cm) : |
77 G1ConcurrentMarkThread::G1ConcurrentMarkThread(G1ConcurrentMark* cm) : |
80 ConcurrentGCThread(), |
78 ConcurrentGCThread(), |
|
79 _vtime_start(0.0), |
|
80 _vtime_accum(0.0), |
|
81 _vtime_mark_accum(0.0), |
81 _cm(cm), |
82 _cm(cm), |
82 _state(Idle), |
83 _state(Idle), |
83 _phase_manager_stack(), |
84 _phase_manager_stack() { |
84 _vtime_accum(0.0), |
|
85 _vtime_mark_accum(0.0) { |
|
86 |
85 |
87 set_name("G1 Main Marker"); |
86 set_name("G1 Main Marker"); |
88 create_and_start(); |
87 create_and_start(); |
89 } |
88 } |
90 |
89 |