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

EventTemplateTest fails for JDKs with custom jfr profiles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9.0.0
    • None
    • Mission Control Client
    • None

      A downstream JDK might not only have the two OpenJDK default JFR profiles default.jfc and profile.jfc but also contain other custom JFR profiles, such as SapMachine delivers special gc related configurations, like here: https://github.com/SAP/SapMachine/tree/sapmachine/src/jdk.jfr/share/conf/jfr.

      This makes the test EventTemplateTest fail since it expects every possible JFR event in every configuration. It could be fixed by only checking the two default templates tagged with provider="Oracle".

            clanger Christoph Langer
            clanger Christoph Langer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: