JDK-8198562 : (ch) Separate blocking and non-blocking code paths (part 1)
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-02-22
  • Updated: 2020-06-09
  • Resolved: 2018-02-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b03Fixed
Related Reports
CSR :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8198692 :  
Description
This issue tracks refactoring the code for asynchronous close and interrupt in SocketChannel and ServerSocketChannel. The changes improve performance of non-blocking IO operations. They also improve the reliability for cases where a channel is asynchronously closed or threads doing I/O operations are interrupted.
Comments
Discussion here: http://mail.openjdk.java.net/pipermail/nio-dev/2018-February/004746.html As a side benefit, the changes eliminate the deadlock in FileChannel tracked by JDK-8054039.
26-02-2018