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

Test `test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java` fails on 32 bit systems

XMLWordPrintable

    • gc
    • master

        Seeing failures when running the `test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java` test on 32 bit systems:

        ```
        ...
        Output:
        Unrecognized VM option 'ObjectAlignmentInBytes=8'
        Error: Could not create the Java Virtual Machine.
        Error: A fatal exception has occurred. Program will exit.

        STDERR:
         stdout: [];
         stderr: [Unrecognized VM option 'ObjectAlignmentInBytes=8'
        Error: Could not create the Java Virtual Machine.
        Error: A fatal exception has occurred. Program will exit.
        ]
         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:507)
                at gc.TestObjectAlignmentCardSize.runTest(TestObjectAlignmentCardSize.java:49)
                at gc.TestObjectAlignmentCardSize.main(TestObjectAlignmentCardSize.java:57)
                at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
                at java.base/java.lang.reflect.Method.invoke(Method.java:580)
                at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
                at java.base/java.lang.Thread.run(Thread.java:1583)

        JavaTest Message: Test threw exception: java.lang.RuntimeException
        JavaTest Message: shutting down test


        TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
        ```

        Underlying cause is that the `ObjectAlignmentInBytes` option is unsupported

              ssubramaniam Satyen Subramaniam
              ssubramaniam Satyen Subramaniam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: