mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls. Reviewed-by: dcubed, dholmes, pliden, rehn
This commit is contained in:
parent
88303d1c60
commit
fbafef11c0
127 changed files with 718 additions and 746 deletions
|
@ -450,8 +450,8 @@ int VM_Exit::wait_for_threads_in_native_to_block() {
|
|||
|
||||
attempts++;
|
||||
|
||||
MutexLockerEx ml(&timer, Mutex::_no_safepoint_check_flag);
|
||||
timer.wait(Mutex::_no_safepoint_check_flag, 10);
|
||||
MutexLocker ml(&timer, Mutex::_no_safepoint_check_flag);
|
||||
timer.wait_without_safepoint_check(10);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue