equal
deleted
inserted
replaced
222 _timer(thread->cm(), lookup_concurrent_phase_title(phase)), |
222 _timer(thread->cm(), lookup_concurrent_phase_title(phase)), |
223 _manager(phase, thread) |
223 _manager(phase, thread) |
224 { } |
224 { } |
225 }; |
225 }; |
226 |
226 |
227 const char* const* G1ConcurrentMarkThread::concurrent_phases() const { |
|
228 return concurrent_phase_names; |
|
229 } |
|
230 |
|
231 bool G1ConcurrentMarkThread::request_concurrent_phase(const char* phase_name) { |
227 bool G1ConcurrentMarkThread::request_concurrent_phase(const char* phase_name) { |
232 int phase = lookup_concurrent_phase(phase_name); |
228 int phase = lookup_concurrent_phase(phase_name); |
233 if (phase < 0) return false; |
229 if (phase < 0) return false; |
234 |
230 |
235 while (!ConcurrentGCPhaseManager::wait_for_phase(phase, |
231 while (!ConcurrentGCPhaseManager::wait_for_phase(phase, |