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

Can't dump recording "0"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • hotspot
    • None
    • jfr
    • b137

      JMC wants to "dump default recording", which in JFR.next means dump all recording data,
      and we should do this by dumping the special recording id 0.

      When I do this from the JMC MBean browser I get:
      Failed to execute 'openStream( 0 )'

       java.io.IOException: No recording data available
      at jdk.management.jfr.FlightRecorderMXBeanImpl.openStream(jdk.management.jfr@9-ea/FlightRecorderMXBeanImpl.java:139)


      Looking at the JFR code with Erik, it looked likely that this is because there are no complete chunks found in the call to makeChunkList() from PlatformRecorder.open().

      The normal dump recording actions we do clones a new stopped recording.

            egahlin Erik Gahlin
            klward Klara Ward
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: