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

com/sun/jdi/JdbOptions.java fails without jfr

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16, 17
    • Fix Version/s: 17
    • Component/s: core-svc
    • Subcomponent:
    • Resolved In Build:
      b08

      Description

      ...testcase...
      [jdb] Initializing jdb ...
      [jdb] >
      > run
      [jdb] run JbdOptionsTarg
      [jdb] VM start exception: VM initialization failed for: /jdk/build/linux-x86_64-server-fastdebug/images/jdk/bin/java -client -XX:+PrintVMOptions -XX:StartFlightRecording=dumponexit=true,maxsize=500M -XX:FlightRecorderOptions=repository=jfrrep -Xdebug -Xrunjdwp:transport=dt_socket,address=TENCENT64:37161,suspend=y JbdOptionsTarg
      [jdb]
      [jdb] Unrecognized VM option 'StartFlightRecording=dumponexit=true,maxsize=500M'
      [jdb] Error: Could not create the Java Virtual Machine.
      [jdb] Error: A fatal exception has occurred. Program will exit.
      [jdb] VM option '+PrintVMOptions'
      [jdb] VM option 'StartFlightRecording=dumponexit=true,maxsize=500M'
      [jdb] VM option 'FlightRecorderOptions=repository=jfrrep'
      [jdb]
      [jdb] Fatal error:
      [jdb] Target VM failed to initialize.
      [jdb]
      STDERR:
       stdout: [Initializing jdb ...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jiefu Jie Fu
              Reporter:
              jiefu Jie Fu
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: