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

runtime/cds/appcds/LambdaEagerInit.java fails with -XX:-CompactStrings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b19

      Description

      When executed with -XX:-CompactStrings, some CDS tests fail.

      $ make run-test TEST=runtime/cds/ TEST_VM_OPTS="-XX:-CompactStrings"

      TEST: runtime/cds/appcds/LambdaEagerInit.java
      ...

      STDERR:
       stdout: [[0.081s][info][cds] trying to map /home/shade/trunks/jdk/build/linux-x86_64-server-fastdebug/images/jdk/lib/server/classes.jsa
      [0.081s][info][cds] Opened archive /home/shade/trunks/jdk/build/linux-x86_64-server-fastdebug/images/jdk/lib/server/classes.jsa.
      Error occurred during initialization of VM
      Unable to use shared archive.
      ];
       stderr: [An error has occurred while processing the shared archive file.
      The shared archive file's CompactStrings setting (enabled) does not equal the current CompactStrings setting (disabled).
      ]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fmatte Fairoz Matte
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: