Clean up JFR command line processing

XMLWordPrintable

    • jfr
    • b04

        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.

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

                Created:
                Updated:
                Resolved: