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

runtime/cds/SharedBaseAddress.java fails on x86_32 due to Unrecognized VM option 'UseCompressedOops'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 17
    • None
    • hotspot
    • b23

    Description

      ```
      [STDERR]
      Unrecognized VM option 'UseCompressedOops'
      Did you mean '(+/-)CheckCompressedOops'? Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

      [2021-05-18T23:12:23.728258191Z] Waiting for completion for process 26997
      [2021-05-18T23:12:23.728362797Z] Waiting for completion finished for process 26997
      STDERR:
       stdout: [];
       stderr: [Unrecognized VM option 'UseCompressedOops'
      Did you mean '(+/-)CheckCompressedOops'? Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      ]
       exitValue = 1

      java.lang.RuntimeException: 'Loading classes to share' missing from stdout/stderr

              at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:206)
              at jdk.test.lib.cds.CDSTestUtils.checkDump(CDSTestUtils.java:273)
              at jdk.test.lib.cds.CDSTestUtils.createArchiveAndCheck(CDSTestUtils.java:297)
              at SharedBaseAddress.main(SharedBaseAddress.java:86)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:568)
              at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
              at java.base/java.lang.Thread.run(Thread.java:831)
      ```

      Attachments

        Issue Links

          Activity

            People

              jiefu Jie Fu
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: