Calling shmemBase_closeConnection() closes the Handles opened/created for the mutexes used to serialize reads and writes for each stream of the connection. After this call, the Handle id that used to identified a previously closed mutex could be recycled by the OS and assigned to a new object. If a thread tries to read or write a packet after the connection was closed the call will end up in sysIPMutexEnter() which calls WaitForMultipleObjects() on the previously closed mutex and the shutdown event. If the Handle id was indeed recycled that call will affect the state of the new object.
- blocks
-
JDK-8240918 [REDO] Allow direct handshakes without VMThread intervention
- Resolved
- relates to
-
JDK-8237756 [BACKOUT]: JDK-8230594: Allow direct handshakes without VMThread intervention
- Resolved
-
JDK-8230594 Allow direct handshakes without VMThread intervention
- Resolved