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

JFR tool: print does not work with inner class events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 16
    • 15
    • hotspot
    • None
    • jfr
    • b03

      For events that are inner classes (e.g. EventGeneratorLoop$SimpleEvent) jfr tool's 'print' command does not print any information.

      Steps to reproduce:
        - use the attached EventGeneratorLoop.java
        - generate a recording: java -XX:StartFlightRecording:dumponexit=true EventGeneratorLoop.java 10
        - use 'jfr summary': observe that the event of interest is part of the summary:
          EventGeneratorLoop$SimpleEvent 10 220
        - attempt to print details for this event: jfr print --events EventGeneratorLoop$SimpleEvent <RECORDING_FILE>
          Nothing is printed
        - also tried to use event's short name (also part of @label annotation):
           jfr print --events SimpleEvent <RECORDING_FILE>
           Does not work
          
      ===========
      Reproducible: always
      Platform agnostic

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

              Created:
              Updated:
              Resolved: