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

[TESTBUG] compiler/stringopts/TestStringObjectInitialization.java fails with OOME

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b140

      Backports

        Description

        This failure happens once in PIT on Windows-x86
        VM options : -Xcomp -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+DeoptimizeALot

        #section:main
        ----------messages:(4/464)----------
        command: main -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-CompactStrings -XX:-UseG1GC -XX:+UseParallelGC compiler.stringopts.TestStringObjectInitialization
        reason: User specified action: run main/othervm/timeout=300 -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-CompactStrings -XX:-UseG1GC -XX:+UseParallelGC compiler.stringopts.TestStringObjectInitialization
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 336.474
        ----------configuration:(0/0)----------
        ----------System.out:(0/0)----------
        ----------System.err:(16/1357)----------
        java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(java.base@9-internal/Arrays.java:3744)
        at java.lang.AbstractStringBuilder.ensureCapacityInternal(java.base@9-internal/AbstractStringBuilder.java:146)
        at java.lang.AbstractStringBuilder.append(java.base@9-internal/AbstractStringBuilder.java:510)
        at java.lang.StringBuilder.append(java.base@9-internal/StringBuilder.java:141)
        at compiler.stringopts.TestStringObjectInitialization.add(TestStringObjectInitialization.java:62)
        at compiler.stringopts.TestStringObjectInitialization.run(TestStringObjectInitialization.java:67)
        at compiler.stringopts.TestStringObjectInitialization$Runner.run(TestStringObjectInitialization.java:80)
        at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
        java.lang.OutOfMemoryError: Java heap space
        at compiler.stringopts.TestStringObjectInitialization.add(TestStringObjectInitialization.java:62)
        at compiler.stringopts.TestStringObjectInitialization.run(TestStringObjectInitialization.java:67)
        at compiler.stringopts.TestStringObjectInitialization$Runner.run(TestStringObjectInitialization.java:80)
        at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                thartmann Tobias Hartmann
                Reporter:
                tpivovarova Tatiana Pivovarova (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: