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

cds/appcds/ArchiveRelocationTest.java failed with missing expected output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • hotspot
    • None
    • x86_64
    • windows

      java.lang.RuntimeException: 'ArchiveRelocationMode == 1: always map archive(s) at an alternative address' missing from stdout/stderr
      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:253)
      at ArchiveRelocationTest.lambda$test$0(ArchiveRelocationTest.java:79)
      at jdk.test.lib.cds.CDSTestUtils$Result.assertNormalExit(CDSTestUtils.java:157)
      at ArchiveRelocationTest.test(ArchiveRelocationTest.java:77)
      at ArchiveRelocationTest.main(ArchiveRelocationTest.java:45)
      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)

      From the log:
      [0.030s][info][cds] ArchiveRelocationMode: 1
      [0.030s][debug][cds] Released shared space (archive) 0x0000000800000000
      [0.030s][debug][cds] Failed to reserve spaces (use_requested_addr=1)
      [0.030s][info ][cds] Try to map archive(s) at an alternative address

      The failure was seen on Windows so far.

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

              Created:
              Updated: