Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8054720

Modifications of I/O methods for instrumentation purposes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs
    • b29

        Instrumentation agents that want to instrument FileInputStream, FileOutputStream, RandomAccessFile, and SocketInputStream in order to track when files are opened and when bytes are read from a socket cannot do so at present as the implementing methods are native. The proposed change is to apply a consistent naming convention to the native methods and 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.

              bpb Brian Burkhalter
              bpb Brian Burkhalter
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: