Tapestry 5
  1. Tapestry 5
  2. TAP5-788

ParallelExecutor service throws RejectedExecutionException if more then THREAD_POOL_MAX_SIZE jobs are submitted

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2, 5.1.0.0, 5.1.0.1, 5.1.0.2, 5.1.0.3, 5.1.0.4, 5.1.0.5, 5.1
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      ParallelExecutor service building method is backed by a bounded BlockingQueue which is the cause of RejectedExecutionException if THREAD_POOL_MAX_SIZE is reached during parallel execution of jobs.

      Changing it to use an unbounded queue will cause new jobs to wait before ParallelExecutor is able to accept new ones.

      1. patch
        2 kB
        Massimo Lusetti

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        167d 15h 19m 1 Howard M. Lewis Ship 02/Jan/10 01:24
        In Progress In Progress Closed Closed
        39m 37s 1 Howard M. Lewis Ship 02/Jan/10 02:03
        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.2.0 [ 12314122 ]
        Resolution Fixed [ 1 ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Massimo Lusetti made changes -
        Field Original Value New Value
        Attachment patch [ 12413920 ]
        Hide
        Massimo Lusetti added a comment -

        Patch against current trunk, with modified test

        Show
        Massimo Lusetti added a comment - Patch against current trunk, with modified test
        Massimo Lusetti created issue -

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Massimo Lusetti
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development