mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8226228: Make Threads_lock an always safepoint checked lock
Reviewed-by: coleenp, dcubed, dholmes
This commit is contained in:
parent
98fb7b85e5
commit
c6446d44b7
10 changed files with 32 additions and 20 deletions
|
@ -522,7 +522,7 @@ void VM_Exit::wait_if_vm_exited() {
|
|||
Thread::current_or_null() != _shutdown_thread) {
|
||||
// _vm_exited is set at safepoint, and the Threads_lock is never released
|
||||
// we will block here until the process dies
|
||||
Threads_lock->lock_without_safepoint_check();
|
||||
Threads_lock->lock();
|
||||
ShouldNotReachHere();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue