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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 17
    • core-svc

    Description

      The test com/sun/jdi/JdbOptions.java added by https://bugs.openjdk.java.net/browse/JDK-8234808 fails on platforms that do not have JFR (i.e. AIX).
      The test uses JFR options to test that quoted option parsing works. On non JFR platforms this fails because the VM cannot start.
      Output:
      [jdb] VM start exception: VM initialization failed for: /.../bin/java -client -XX:+PrintVMOptions -XX:StartFlightRecording=dumponexit=true,maxsize=500M -XX:FlightRecorderOptions=repository=jfrrep -Xdebug -Xrunjdwp:transport=dt_socket,address=localhost:38090,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.

      Attachments

        Issue Links

          Activity

            People

              amenkov Alex Menkov
              azeller Arno Zeller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: