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

java/util/Arrays/TimSortStackSize2.java fails with "Initial heap size set to a larger value than the maximum heap size"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b04

      Backports

        Description

        java/util/Arrays/TimSortStackSize2.java could fail with "Initial heap size set to a larger value than the maximum heap size" in case small -Xmx is passed during test execution.

        Failure example:
        ----------System.out:(5/611)----------
        compressedOops: false; Test will be started with "-Xms770m"
        Command line: [linux-x64-debug.jdk/jdk-10/fastdebug/bin/java -ea -esa -Xmx512m -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+AggressiveOpts -XX:-UseCompressedOops -Xms770m TimSortStackSize2 67108864 ]
        Error occurred during initialization of VM
        Initial heap size set to a larger value than the maximum heap size

        ----------System.err:(38/2136)----------
         stdout: [Error occurred during initialization of VM
        Initial heap size set to a larger value than the maximum heap size
        ];
         stderr: []
         exitValue = 1

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                iignatyev Igor Ignatyev
                Reporter:
                epavlova Ekaterina Pavlova
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: