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

Some tier-4 CDS EpsilonGC tests throw OOM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b17
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following two tests failed in the JDK18 CI:

      runtime/cds/appcds/methodHandles/MethodHandlesSpreadArgumentsTest.java
      runtime/cds/appcds/methodHandles/MethodHandlesAsCollectorTest.java

      Here's a snippet from the MethodHandlesSpreadArgumentsTest.java
      log file:

      ----------System.err:(76/5001)----------
       stdout: [[0.016s][warning][gc,init] Consider setting -Xms equal to -Xmx to avoid resizing hiccups
      [0.016s][warning][gc,init] Consider enabling -XX:+AlwaysPreTouch to avoid memory commit hiccups
      class test.java.lang.invoke.MethodHandlesSpreadArgumentsTest
           annotation: @org.junit.Test(timeout=0L, expected=org.junit.Test$None.class)
          invoking method: testSpreadArguments
      Terminating due to java.lang.OutOfMemoryError: Java heap space
      ];
       stderr: []
       exitValue = 3


      Here's a snippet from the MethodHandlesAsCollectorTest.java
      log file:

      ----------System.err:(76/4973)----------
       stdout: [[0.019s][warning][gc,init] Consider setting -Xms equal to -Xmx to avoid resizing hiccups
      [0.019s][warning][gc,init] Consider enabling -XX:+AlwaysPreTouch to avoid memory commit hiccups
      class test.java.lang.invoke.MethodHandlesAsCollectorTest
           annotation: @org.junit.Test(timeout=0L, expected=org.junit.Test$None.class)
          invoking method: testAsCollector
      Terminating due to java.lang.OutOfMemoryError: Java heap space
      ];
       stderr: []
       exitValue = 3

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iklam Ioi Lam
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: