Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8216995

Clean up JFR command line processing

    Details

    • Subcomponent:
      jfr
    • Resolved In Build:
      b04

      Backports

        Description

        JfrRecorder::is_disabled is called early during bootstrap, and uses JVMFlag::find_flag directly to check whether the -XX:-FlightRecorder has been set on the command line. Using the FLAG_IS_CMDLINE macro from global_extensions has the same effect cleans it up and might avoid a linear scan.

        Also clean up enable() to use a macro to set the FlightRecorder value.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  redestad Claes Redestad
                  Reporter:
                  redestad Claes Redestad
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: