Relates :
|
|
Relates :
|
|
Relates :
|
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.
|