src/hotspot/share/gc/shared/workgroup.cpp
changeset 52302 912b79d983d9
parent 51598 c88019b32bc4
child 53103 67e3a8b3449c
equal deleted inserted replaced
52301:fbfcdc5bf694 52302:912b79d983d9
   295   initialize();
   295   initialize();
   296   loop();
   296   loop();
   297 }
   297 }
   298 
   298 
   299 void AbstractGangWorker::initialize() {
   299 void AbstractGangWorker::initialize() {
   300   this->record_stack_base_and_size();
       
   301   this->initialize_named_thread();
   300   this->initialize_named_thread();
   302   assert(_gang != NULL, "No gang to run in");
   301   assert(_gang != NULL, "No gang to run in");
   303   os::set_priority(this, NearMaxPriority);
   302   os::set_priority(this, NearMaxPriority);
   304   log_develop_trace(gc, workgang)("Running gang worker for gang %s id %u", gang()->name(), id());
   303   log_develop_trace(gc, workgang)("Running gang worker for gang %s id %u", gang()->name(), id());
   305   // The VM thread should not execute here because MutexLocker's are used
   304   // The VM thread should not execute here because MutexLocker's are used