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

Version independent Flight Recorder controller

XMLWordPrintable

      We should probably streamline the JDK version independent JFR JMX service and make it part of core, so that it can be used by anyone interested in a platform independent way of controlling the FlightRecorder. As a matter of fact, it should probably be two factories for acquiring the service, one taking an MBeanServer, and one not taking anything at all. The one not taking anything at all would fallback to the platformMBeanServer if JDK < 9, and the ones for JDK 9 and above would simply reflectively use the local API.

      For now, we could simply make a very simple service that will use diagnostic commands internally, and which only supports our exact use cases.

            hirt Marcus Hirt
            hirt Marcus Hirt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: