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

JFR: Incorrect top frame for I/O events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 26
    • 25, 26
    • hotspot
    • jfr
    • b08

        The top frame in a stack trace for an I/O event should be where the user called the read or write method, for example, RandomAccessFile::readLong, and not a JDK internal method, such as FileRead::offer.

        Other issues are, DataInputStream::readUTF(DataInput in), used by RandomAccessFile::readUTF(), and InputStream::readNBytes(byte[], int, int), which is not overridden by FileInputStream. (FileRead) and DataOutputStream::writeUTF(DataOutput) used by RandomAccessFile::writeUTF (FileWrite)

              egahlin Erik Gahlin
              egahlin Erik Gahlin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: