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

OutOfMemoryError in java/util/Arrays/ParallelPrefix.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      java/util/Arrays/ParallelPrefix.java

      test ParallelPrefix.testParallelPrefixForStringr([Ljava.lang.String;@162c13c, 5461, 10922, ParallelPrefix$$Lambda$85/6435836@11c5a1d): failure
      java.lang.OutOfMemoryError: Java heap space
      at java.base/java.util.Arrays.copyOf(Arrays.java:3744)
      at java.base/java.lang.String.concat(String.java:1956)
      at ParallelPrefix$$Lambda$85/6435836.apply(Unknown Source)
      at java.base/java.util.ArrayPrefixHelpers$CumulateTask.compute(ArrayPrefixHelpers.java:209)
      at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:747)
      at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:283)
      at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.sharedHelpCC(ForkJoinPool.java:1129)
      at java.base/java.util.concurrent.ForkJoinPool.externalHelpComplete(ForkJoinPool.java:1994)
      at java.base/java.util.concurrent.ForkJoinTask.externalAwaitDone(ForkJoinTask.java:318)
      at java.base/java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:399)
      at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:725)
      at java.base/java.util.Arrays.parallelPrefix(Arrays.java:1597)
      at ParallelPrefix.testParallelPrefixForStringr(ParallelPrefix.java:175)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:563)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mli Hamlin Li
              Reporter:
              jwilhelm Jesper Wilhelmsson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: