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

resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java timed out

    XMLWordPrintable

Details

    • b13
    • generic
    • generic

    Backports

      Description

        The following test timed out in the JDK17 CI:

        resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java

        Here's a log file snippet for one of the failures:

        ----------System.err:(26/1305)----------
         stdout: [Attaching to process ID 13151, please wait...
        Debugger attached successfully.
        Server compiler detected.
        JVM version is 17-ea+12-LTS-842
        ];
         stderr: [WARNING: Cannot dump array of type int with length 1073741823; truncating to length 1073717270
        ]
         exitValue = 134

        java.lang.RuntimeException: Expected to get exit value of [0]

        at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:474)
        at TestHeapDumpForLargeArray.attachAndDump(TestHeapDumpForLargeArray.java:67)
        at TestHeapDumpForLargeArray.main(TestHeapDumpForLargeArray.java:96)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        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:127)
        at java.base/java.lang.Thread.run(Thread.java:831)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
        ----------rerun:(44/7874)*----------

        The test task for the above failing snippet has the following JVM args:

        -XX:+CreateCoredumpOnCrash -XX:+UseParallelGC -XX:+UseNUMA

        Attachments

          Issue Links

            Activity

              People

                lzang Lin Zang
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: