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

java/util/Arrays/TimSortStackSize2.java fails with java.lang.OutOfMemoryError: Java heap space when running without CompressedOops

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      Reproduces easily using:
      java -XX:-UseCompressedOops -Xmx385m TimSortStackSize2 67108864

      Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
              at TimSortStackSize2.createArray(TimSortStackSize2.java:168)
              at TimSortStackSize2.main(TimSortStackSize2.java:44)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lpriima Lev Priima
                Reporter:
                ctornqvi Christian Tornqvist
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: