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
|
@ -97,7 +97,7 @@ void ThreadService::init() {
|
|||
void ThreadService::reset_peak_thread_count() {
|
||||
// Acquire the lock to update the peak thread count
|
||||
// to synchronize with thread addition and removal.
|
||||
MutexLockerEx mu(Threads_lock);
|
||||
MutexLocker mu(Threads_lock);
|
||||
_peak_threads_count->set_value(get_live_thread_count());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue