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

java/util/Arrays/TimSortStackSize2.java fails with OOM

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • Verification:
      Verified

      Backports

        Description

        After JDK-8190679 has been fixed
        java/util/Arrays/TimSortStackSize2.java started to fail with OOM:

        Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/2018-03-02-2050320.vm-sqe-notifications_ww_grp.pit180301/linux-x64-debug.jdk/jdk-11/fastdebug/bin/java -XX:MaxRAMPercentage=6 -ea -esa -Xmx512m -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+AggressiveOpts -XX:-UseBiasedLocking -Xms385m -Xmx385m TimSortStackSize2 67108864 ]
        TimSort OK. Time: 39375546772ns
        Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at TimSortStackSize2.createArray(TimSortStackSize2.java:209)
        at TimSortStackSize2.doTest(TimSortStackSize2.java:104)
        at TimSortStackSize2.doTestOfTwoTimSorts(TimSortStackSize2.java:90)
        at TimSortStackSize2.main(TimSortStackSize2.java:54)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                iignatyev Igor Ignatyev (Inactive)
                Reporter:
                epavlova Ekaterina Pavlova
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: