JDK-8062501 : Modifications of server socket channel accept() methods for instrumentation purposes
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-10-29
  • Updated: 2016-06-13
  • Resolved: 2014-10-30
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 8 JDK 9
8u40Fixed 9 b38Fixed
Related Reports
Relates :  
Description
Instrumentation agents that want to instrument [Asynchronous]ServerSocketChannel.accept() in order to track when a connection request is actually accepted by the underlying system cannot do so at present as the implementing methods are native. The proposed change is to create Java methods which wrap the respective native methods thereby allowing instrumentation to occur. The implementation is usable by any agents wishing to monitor these functions. 
Comments
Review thread http://mail.openjdk.java.net/pipermail/nio-dev/2014-October/002817.html.
30-10-2014