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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 17, 18
    • hotspot
    • b19

      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).
      ]

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

              Created:
              Updated:
              Resolved: