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

Parallel stream execution within a custom ForkJoinPool should obey the parallelism

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:
      None

      Description

      If a parallel stream is executed within a custom ForkJoinPool then tasks will be submitted to that custom pool, however the size of the computation will be in proportion to the common pool and not the custom pool.

      Such stream execution should be in proportion to the parallelism of the custom pool.

        Attachments

          Activity

            People

            • Assignee:
              psandoz Paul Sandoz (Inactive)
              Reporter:
              psandoz Paul Sandoz (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: