hotspot/src/share/vm/gc/shared/workgroup.cpp
changeset 33105 294e48b4f704
parent 32361 3de9a2e1e2d0
child 33107 77bf0d2069a3
equal deleted inserted replaced
33104:a7c0f60a1294 33105:294e48b4f704
   138 
   138 
   139     // Wait for the last worker to signal the coordinator.
   139     // Wait for the last worker to signal the coordinator.
   140     _end_semaphore->wait();
   140     _end_semaphore->wait();
   141 
   141 
   142     // No workers are allowed to read the state variables after the coordinator has been signaled.
   142     // No workers are allowed to read the state variables after the coordinator has been signaled.
   143     assert(_not_finished == 0, err_msg("%d not finished workers?", _not_finished));
   143     assert(_not_finished == 0, "%d not finished workers?", _not_finished);
   144     _task    = NULL;
   144     _task    = NULL;
   145     _started = 0;
   145     _started = 0;
   146 
   146 
   147   }
   147   }
   148 
   148