JDK-8003322 : Add instrumentation points for tracing of I/O calls
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 7u40
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-11-13
  • Updated: 2013-09-04
  • Resolved: 2013-07-03
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.
7u40 b04Fixed
Add infrastructure intended to enable diagnosing/tracing of i/o calls. A user of the API should be able to get callbacks for read and write operations on sockets and files. When not used, the implementation should add a minimum of overhead. 

The following information should be provided:
File: path, number of bytes read/written
Socket: port, remote address, number of bytes read/written, timeout value for reads

Instrumentation does not (yet) have to cover asynchronous i/o calls.
Verified with regression tests with jdk 7u40 b30.

This issue is showing up as an issue to be forward-ported to 8. Can the 8-na label be added to this issue?

See discussion/review at: http://mail.openjdk.java.net/pipermail/core-libs-dev/2012-November/012217.html