Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6994

JMC shows Number Of Events, and Event Types wrongly.

XMLWordPrintable

    • JMC 8.1 Sprint 1, JMC 8.1 RDS 1, JMC 8.1 RDS 2, JMC 8.1 RDP2 1

      JMC shows less number of events when its opened for analysis , whereas if the the JFR file is printed as XML file using jfr tool , then it will have more events listed.

       

      Number of Events Shown in XML  (65086)

      Number of Events Shown in JMC (65084)

      Anomalies Noticed

       

      Event Type (as in XML format) Count Issue Description
      jdk.JavaExceptionThrow 145 JMC Shows only 143 Events for this
      jdk.JavaMonitorEnter 1 Shown As Java Monitor Blocked 

       

      Steps to reproduce

      1. Download the attached JFR (your_recording.jfr)  and open it in JMC 8.0.0
      2. Go to Event Browser and Select all events , and see the total number of events in properties (Ref JMC.png)
      3. Convert jfr tp XML  using jfr tool (JDK11_HOME\bin\jfr print --xml your_recording.jfr > your_recording.xml)
      4.   List the number of events  ( grep -c "<event " your_recording.xml )
      5. Compare the events listed on both , and there's a mismatch

        1. BreakUp.xlsm
          845 kB
          Bipin Banathur
        2. events.csv
          21 kB
          Bipin Banathur
        3. exceptions.xml
          1.24 MB
          Bipin Banathur
        4. image-2020-11-20-12-36-02-735.png
          166 kB
          Bipin Banathur
        5. image-2020-11-20-12-38-32-608.png
          32 kB
          Bipin Banathur
        6. image-2020-11-20-12-39-25-178.png
          54 kB
          Bipin Banathur
        7. your_recording.jfr
          3.20 MB
          Bipin Banathur

            hdafgard Henrik Dafgård
            bbanathur Bipin Banathur
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: