mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8230876: baseline cleanups from Async Monitor Deflation v2.0[789]
Reviewed-by: dholmes, kvn
This commit is contained in:
parent
13ce4cdf2a
commit
b10495d436
9 changed files with 113 additions and 53 deletions
|
@ -540,7 +540,7 @@ void SystemDictionary::double_lock_wait(Handle lockObject, TRAPS) {
|
|||
assert(calledholdinglock,"must hold lock for notify");
|
||||
assert((lockObject() != _system_loader_lock_obj && !is_parallelCapable(lockObject)), "unexpected double_lock_wait");
|
||||
ObjectSynchronizer::notifyall(lockObject, THREAD);
|
||||
intptr_t recursions = ObjectSynchronizer::complete_exit(lockObject, THREAD);
|
||||
intx recursions = ObjectSynchronizer::complete_exit(lockObject, THREAD);
|
||||
SystemDictionary_lock->wait();
|
||||
SystemDictionary_lock->unlock();
|
||||
ObjectSynchronizer::reenter(lockObject, recursions, THREAD);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue