mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8212933: Thread-SMR: requesting a VM operation whilst holding a ThreadsListHandle can cause deadlocks
Reviewed-by: eosterlund, dcubed, sspitsyn, dholmes
This commit is contained in:
parent
e4f5ffc403
commit
80aa38305d
6 changed files with 117 additions and 66 deletions
|
@ -4276,9 +4276,6 @@ bool Threads::destroy_vm() {
|
|||
before_exit(thread);
|
||||
|
||||
thread->exit(true);
|
||||
// thread will never call smr_delete, instead of implicit cancel
|
||||
// in wait_for_vm_thread_exit we do it explicit.
|
||||
thread->cancel_handshake();
|
||||
|
||||
// Stop VM thread.
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue