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

aotClassLinking/StringConcatStress.java failed due to unable to map shared spaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 25
    • hotspot

      ----------System.err:(47/3236)----------
       stdout: [[0.027s][info][cds] trying to map StringConcatStressApp.static.jsa
      [0.028s][info][cds] Opened shared archive file StringConcatStressApp.static.jsa.
      [0.028s][info][cds] The shared archive file was created with UseCompressedOops = 1, UseCompressedClassPointers = 1, UseCompactObjectHeaders = 0
      [0.028s][info][cds] Core region alignment: 4096
      [0.028s][info][cds] ArchiveRelocationMode: 0
      [0.028s][info][cds] Reserved archive_space_rs [0x0000000800000000 - 0x0000000801000000] (16777216) bytes (includes protection zone)
      [0.028s][info][cds] Reserved class_space_rs [0x0000000801000000 - 0x0000000841000000] (1073741824) bytes
      [0.028s][info][cds] Mapped static region #0 at base 0x0000000800001000 top 0x00000008005ed000 (ReadWrite)
      [0.028s][info][cds] Mapped static region #1 at base 0x00000008005ed000 top 0x0000000800deb000 (ReadOnly)
      [0.028s][info][cds] archived module property jdk.module.main: (null)
      [0.028s][info][cds] archived module property jdk.module.addexports: (null)
      [0.028s][info][cds] archived module property jdk.module.addmods: (null)
      [0.028s][info][cds] Mismatched values for property jdk.module.addmods: jdk.internal.vm.ci specified during runtime but not during dump time
      [0.028s][info][cds] Disabling optimized module handling
      [0.028s][info][cds] archived module property jdk.module.enable.native.access: (null)
      [0.028s][info][cds] optimized module handling: disabled
      [0.028s][info][cds] full module graph: disabled
      [0.028s][error][cds] CDS archive has aot-linked classes. It cannot be used when archived full module graph is not used.
      [0.028s][info ][cds] Unmapping region #0 at base 0x0000000800001000 (ReadWrite)
      [0.028s][info ][cds] Region #0 (ReadWrite) is in a reserved space, it will be freed when the space is released
      [0.028s][info ][cds] Unmapping region #1 at base 0x00000008005ed000 (ReadOnly)
      [0.028s][info ][cds] Region #1 (ReadOnly) is in a reserved space, it will be freed when the space is released
      [0.028s][info ][cds] Unable to map shared spaces
      [0.028s][error][cds] An error has occurred while processing the shared archive file.
      [0.028s][error][cds] Unable to map shared spaces
      Error occurred during initialization of VM
      Unable to use shared archive.
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
      at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:199)
      at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:386)
      at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:351)
      at jdk.test.lib.cds.CDSAppTester.runStaticWorkflow(CDSAppTester.java:418)
      at jdk.test.lib.cds.CDSAppTester.run(CDSAppTester.java:403)
      at StringConcatStress.main(StringConcatStress.java:55)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
      at java.base/java.lang.Thread.run(Thread.java:1447)

            Unassigned Unassigned
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: