mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8080879: Remove FlexibleWorkGang::set_for_termination
Reviewed-by: brutisso, kbarrett, pliden
This commit is contained in:
parent
b04d2bca57
commit
f3f59e37c9
7 changed files with 17 additions and 41 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue