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

dynamicArchive/SharedArchiveFileOption.java failed: '-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:' missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b25
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      The following test failed in the JDK18 CI:

      runtime/cds/appcds/dynamicArchive/SharedArchiveFileOption.java

      Here's a snippet from the log file:

      ----------System.err:(28/1780)----------
      java version "18-ea" 2022-03-15
      Java(TM) SE Runtime Environment (fastdebug build 18-ea+24-1599)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 18-ea+24-1599, mixed mode)
       stdout: [Error occurred during initialization of VM
      Cannot have more than 1 archive file specified in -XX:SharedArchiveFile during CDS dumping
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: '-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
      at jdk.test.lib.cds.CDSTestUtils.checkMatches(CDSTestUtils.java:491)
      at jdk.test.lib.cds.CDSTestUtils$Result.assertAbnormalExit(CDSTestUtils.java:200)
      at SharedArchiveFileOption.doTest(SharedArchiveFileOption.java:186)
      at SharedArchiveFileOption.testCustomBase(SharedArchiveFileOption.java:55)
      at DynamicArchiveTestBase.runTest(DynamicArchiveTestBase.java:74)
      at SharedArchiveFileOption.main(SharedArchiveFileOption.java:45)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: '-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:' missing from stdout/stderr

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: '-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:' missing from stdout/stderr
      ----------rerun:(37/9630)*----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iklam Ioi Lam
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: