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

Some tier-4 CDS EpsilonGC tests throw OOM

XMLWordPrintable

    • b17
    • x86_64
    • os_x

      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

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

              Created:
              Updated:
              Resolved: