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

TestOptionsWithRanges.java of '-XX:TLABSize=2147483648' fails intermittently

    XMLWordPrintable

Details

    • b07
    • x86_64
    • linux

    Backports

      Description

        The following test failed in the jdk/jdk CI:

        runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java

        with the following:

        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 tests failed! (Error processing option TLABSize with valid value '-server -XX:+UseConcMarkSweepGC -XX:TLABSize=2147483648'! JVM output reports a fatal error. JVM exited with code 1 [0x1]!) : expected 1 to equal 0

        Here's a snippet from the log file:

        ---------System.err:(34/2593)----------
        Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
        TEST FAILED: Error processing option TLABSize with valid value '-server -XX:+UseConcMarkSweepGC -XX:TLABSize=2147483648'! JVM output reports a fatal error. JVM exited with code 1 [0x1]!
        stdout content[Error occurred during initialization of VM
        GC triggered before VM initialization completed. Try increasing NewSize, current value 157M.
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x00007fa4ec066071, pid=7986, tid=7989
        #
        # JRE version: (11.0) (fastdebug build )
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-internal+0-jdk11-jdk.932, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
        # Problematic frame:
        # C [libjimage.so+0x5071]]
        stderr content[Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
        ]

        java.lang.RuntimeException: 1 tests failed! (Error processing option TLABSize with valid value '-server -XX:+UseConcMarkSweepGC -XX:TLABSize=2147483648'! JVM output reports a fatal error. JVM exited with code 1 [0x1]!)
        : expected 1 to equal 0
        at jdk.test.lib.Asserts.fail(Asserts.java:594)
        at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
        at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
        at TestOptionsWithRanges.main(TestOptionsWithRanges.java:138)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:834)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 tests failed! (Error processing option TLABSize with valid value '-server -XX:+UseConcMarkSweepGC -XX:TLABSize=2147483648'! JVM output reports a fatal error. JVM exited with code 1 [0x1]!)
        : expected 1 to equal 0
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 1 tests failed! (Error processing option TLABSize with valid value '-server -XX:+UseConcMarkSweepGC -XX:TLABSize=2147483648'! JVM output reports a fatal error. JVM exited with code 1 [0x1]!) : expected 1 to equal 0

        Attachments

          Issue Links

            Activity

              People

                tschatzl Thomas Schatzl
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: