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

JFRLaunchConfig does not work as expected in Eclipse IDE

XMLWordPrintable

      JFR Launch Configuration is a useful feature in Eclipse IDE. I was exploring the changes after fix JMC-6204.

      Now launch configuration seems working fine for Eclipse Java Projects with  JDK 11 or JDK 17 as Project JRE version.

      However, the launch configuration does not work as expected for  Java Projects running on JDK 8 ( included -XX:+UnlockCommercialFeatures -XX:+FlightRecorder in JVM argument as well).

      1. JDK 8 Event Settings/JFC templates are not shown for JDK 8 Project Configurations, instead, JDK 9+ settings  are listed
      2. Unable to launch using JFRLaunchConfig because of issue 1.

       

       

      3. The continuous/time fixed recording generated using the JFRLaunchConfig often dumps JFR files with no events, and opening such JFRs results an error message as follows

       

       

       

            Unassigned Unassigned
            bbanathur Bipin Banathur
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: