src/hotspot/share/gc/shared/workgroup.cpp
changeset 53103 67e3a8b3449c
parent 52302 912b79d983d9
child 54623 1126f0607c70
equal deleted inserted replaced
53102:35530ca3e0b2 53103:67e3a8b3449c
   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).