8080879: Remove FlexibleWorkGang::set_for_termination

Reviewed-by: brutisso, kbarrett, pliden
This commit is contained in:
Stefan Karlsson 2015-05-25 11:41:34 +02:00
parent b04d2bca57
commit f3f59e37c9
7 changed files with 17 additions and 41 deletions

View file

@ -133,8 +133,6 @@ void WorkGang::run_task(AbstractGangTask* task) {
}
void WorkGang::run_task(AbstractGangTask* task, uint no_of_parallel_workers) {
task->set_for_termination(no_of_parallel_workers);
// This thread is executed by the VM thread which does not block
// on ordinary MutexLocker's.
MutexLockerEx ml(monitor(), Mutex::_no_safepoint_check_flag);