Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 11, 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      jfr
    • Introduced In Version:
      11

      Description

      Arguments which are passed to -XX:StartFlightRecording are not shown in spite of -Xlog:jfr+dcmd=debug is passed.

      jfr.dcmd log will be shown from DCmdStart::execute, but I think it has two problems:

        1. Log level will be not set before showing log.
           LogTag::tagSetLevel is used to decide to show the log. But it will be set
           in JNI code which is called by JVM::<clinit>. JVM class is not loaded
           when DCmdStart::execute tries to show log.

        2. `settings` might be null, so NPE will occur when DCmdStart::execute
            tries to show log.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ysuenaga Yasumasa Suenaga
                Reporter:
                ysuenaga Yasumasa Suenaga
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: