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

JFR File Read events with Bytes Read=-1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 8u60, 9
    • hotspot
    • None
    • jfr
    • b137
    • generic

    Description

      I created a flight recording of a Ruby script, running on JRuby. In the recording I can see a lot of File Read events where the "Bytes Read" attribute is "-1". (I also noticed that the Path attribute is empty).

      JDK version: Java HotSpot(TM) 64-Bit Server VM (1.9.0-ea-b84) for windows-amd64 JRE (1.9.0-ea-b84), built on Oct 1 2015 02:02:32 by "java_re" with MS VC++ 12.0 (VS2013)

      JRuby version: jruby-complete-9.0.1.0.jar

      I don't know if it matters at all, but the Ruby script basically uses system calls ("java -version") to map where different versions of the JVM are installed.

      Attachments

        1. jruby_fileio.jfr
          642 kB
        2. wldf.jfr
          3.94 MB

        Issue Links

          Activity

            People

              egahlin Erik Gahlin
              pkroon Per Kroon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: