-
Bug
-
Resolution: Fixed
-
P3
-
17, 21, 24
-
b04
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8337366 | 23.0.2 | Jaikiran Pai | P3 | Resolved | Fixed | b01 |
JDK-8337913 | 23.0.1 | Jaikiran Pai | P3 | Resolved | Fixed | b06 |
JDK-8336355 | 23 | Jaikiran Pai | P3 | Closed | Fixed | b32 |
JDK-8341523 | 21.0.6-oracle | Ivan Bereziuk | P3 | Resolved | Fixed | b01 |
JDK-8341941 | 21.0.6 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
Event: 5.943 Thread 0x0000023ed289e5f0 Exception <a 'java/net/SocketException'{0x00000000dbd53808}: Socket operation on nonsocket: sendto> (0x00000000dbd53808)
thrown [s\open\src\hotspot\share\prims\jni.cpp, line 539]
This happens intermittently (and relatively rarely) but even if the channel is in non-blocking mode.
Work arounds:
- Use non-blocking IO and a RW lock to control receive/send/close and avoid concurrent calls to close
- or make sure everything happens in the selector thread
- or use VirtualThread for sending and receiving - but that can lead to hangs due to JDK-8334574
- backported by
-
JDK-8337366 (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed
- Resolved
-
JDK-8337913 (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed
- Resolved
-
JDK-8341523 (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed
- Resolved
-
JDK-8341941 (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed
- Resolved
-
JDK-8336355 (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed
- Closed
- links to
-
Commit openjdk/jdk/9bb675f8
-
Commit(jdk23) openjdk/jdk/7cc50a18
-
Commit(master) openjdk/jdk21u-dev/b002ba63
-
Review openjdk/jdk/19879
-
Review(jdk23) openjdk/jdk/19920
-
Review(master) openjdk/jdk21u-dev/1027