-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b11
SelectableChannel.register is specified to synchronize on the selector's key set and therefore may block if invoked while a selection operation is in progress.
This issue tracks relaxing this so that register can be invoked without waiting for a selection operation to complete. New registrations or changes to the key's interest set can take effect at the next selection operation.
The discussion on this topic is here:
http://mail.openjdk.java.net/pipermail/nio-dev/2018-April/004967.html
This issue tracks relaxing this so that register can be invoked without waiting for a selection operation to complete. New registrations or changes to the key's interest set can take effect at the next selection operation.
The discussion on this topic is here:
http://mail.openjdk.java.net/pipermail/nio-dev/2018-April/004967.html
- csr for
-
JDK-8201493 (se) Allow SelectableChannel.register to be invoked while selection operation is in progress
-
- Closed
-
- duplicates
-
JDK-8040817 (se) Potential deadlock between multiple Selector instances and SelectableChannel
-
- Closed
-
-
JDK-6446652 (se) SelectionKey.interestOps() should be changed to guarantee non-blocking
-
- Closed
-
- relates to
-
JDK-8202481 RegisterDuringSelect.java fails with java.util.concurrent.ExecutionException: java.nio.channels.ClosedSelectorException
-
- Resolved
-