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

[TESTBUG] compiler control test cause 'OutOfMemoryError: Java heap space' in OutputAnalyzer

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b120

      Description

      java.lang.OutOfMemoryError: Java heap space
      at java.util.Arrays.copyOf(Arrays.java:3336)
      at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:140)
      at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
      at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:424)
      at java.lang.StringBuilder.append(StringBuilder.java:141)
      at jdk.test.lib.OutputAnalyzer.getOutput(OutputAnalyzer.java:393)
      at jdk.test.lib.OutputAnalyzer.asLines(OutputAnalyzer.java:430)
      at compiler.compilercontrol.share.processors.PrintProcessor.accept(PrintProcessor.java:94)
      at compiler.compilercontrol.share.processors.PrintProcessor.accept(PrintProcessor.java:46)
      at compiler.compilercontrol.share.scenario.Scenario.execute(Scenario.java:141)
      at compiler.compilercontrol.share.SingleCommand.test(SingleCommand.java:55)
      at compiler.compilercontrol.commandfile.PrintTest.main(PrintTest.java:44)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:747)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ppunegov Pavel Punegov
              Reporter:
              dlong Dean Long
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: