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

gc/stress/TestStressG1Humongous.java failed with OutOfMemoryError

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK17 CI (with UT testing enabled):

      gc/stress/TestStressG1Humongous.java

      Here's a snippet from the log file:

       stderr: [Exception in thread "UsageTracker" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.lang.invoke.BoundMethodHandle
      at java.base/java.lang.invoke.DirectMethodHandle.rebind(DirectMethodHandle.java:150)
      at java.base/java.lang.invoke.StringConcatFactory.newString(StringConcatFactory.java:687)
      at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:514)
      at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
      at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
      at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
      at gc.stress.TestStressG1HumongousImpl.run(TestStressG1Humongous.java:113)
      at gc.stress.TestStressG1HumongousImpl.main(TestStressG1Humongous.java:96)
      ]
       exitValue = 1

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

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:474)
      at gc.stress.TestStressG1Humongous.run(TestStressG1Humongous.java:77)
      at gc.stress.TestStressG1Humongous.main(TestStressG1Humongous.java:56)
      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:568)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:831)

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

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: