JFR tool: print does not work with inner class events

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 16
    • Affects Version/s: 15
    • Component/s: 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

            Assignee:
            Erik Gahlin
            Reporter:
            Mikhailo Seledtsov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: