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

java/lang/instrument/GetObjectSizeIntrinsicsTest.java fails with -XX:-UseCompressedOops

XMLWordPrintable

        The following test failed in the JDK19 CI:

        java/lang/instrument/GetObjectSizeIntrinsicsTest.java#id8

        Here's a snippet from the log file:

        #section:main
        ----------messages:(4/592)----------
        command: main -Xmx8g -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure -XX:+WhiteBoxAPI -Xbootclasspath/a:. -XX:ObjectAlignmentInBytes=32 -Xint -javaagent:basicAgent.jar GetObjectSizeIntrinsicsTest GetObjectSizeIntrinsicsTest large
        reason: User specified action: run main/othervm -Xmx8g -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure -XX:+WhiteBoxAPI -Xbootclasspath/a:. -XX:ObjectAlignmentInBytes=32 -Xint -javaagent:basicAgent.jar GetObjectSizeIntrinsicsTest GetObjectSizeIntrinsicsTest large
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 7.924
        ----------configuration:(0/0)----------
        ----------System.out:(1/47)----------
        InstrumentationHandoff JPLIS agent initialized
        ----------System.err:(18/1233)----------
        java.lang.OutOfMemoryError: Java heap space
        at GetObjectSizeIntrinsicsTest.testSize_localLargeObjArray(GetObjectSizeIntrinsicsTest.java:457)
        at GetObjectSizeIntrinsicsTest.doRunTest(GetObjectSizeIntrinsicsTest.java:366)
        at ATestCaseScaffold.runTest(ATestCaseScaffold.java:60)
        at GetObjectSizeIntrinsicsTest.main(GetObjectSizeIntrinsicsTest.java:326)
        at java.base/java.lang.invoke.LambdaForm$DMH/0x00000000800c1800.invokeStatic(LambdaForm$DMH)
        at java.base/java.lang.invoke.LambdaForm$MH/0x00000000800c2800.invoke(LambdaForm$MH)
        at java.base/java.lang.invoke.Invokers$Holder.invokeExact_MT(Invokers$Holder)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(DirectMethodHandleAccessor.java:155)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:577)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)

        JavaTest Message: Test threw exception: java.lang.OutOfMemoryError: Java heap space
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError: Java heap space
        ----------rerun:(45/6983)*----------

        So far the failure has happened on linux-x64-debug and
        win-x64-debug configs:

        JVM args for all of the failures so far are:
        -XX:-UseCompressedOops

        The Tier7 job set includes the fix for the following bug:

        JDK-8280166 Extend java/lang/instrument/GetObjectSizeIntrinsicsTest.java test cases

              shade Aleksey Shipilev
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: