equal
deleted
inserted
replaced
295 initialize(); |
295 initialize(); |
296 loop(); |
296 loop(); |
297 } |
297 } |
298 |
298 |
299 void AbstractGangWorker::initialize() { |
299 void AbstractGangWorker::initialize() { |
300 this->initialize_named_thread(); |
|
301 assert(_gang != NULL, "No gang to run in"); |
300 assert(_gang != NULL, "No gang to run in"); |
302 os::set_priority(this, NearMaxPriority); |
301 os::set_priority(this, NearMaxPriority); |
303 log_develop_trace(gc, workgang)("Running gang worker for gang %s id %u", gang()->name(), id()); |
302 log_develop_trace(gc, workgang)("Running gang worker for gang %s id %u", gang()->name(), id()); |
304 // The VM thread should not execute here because MutexLocker's are used |
303 // The VM thread should not execute here because MutexLocker's are used |
305 // as (opposed to MutexLockerEx's). |
304 // as (opposed to MutexLockerEx's). |