Uploaded image for project: 'Commons Pool'
  1. Commons Pool
  2. POOL-162

When waiting threads are interrupted, pool can leak capacity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4
    • 1.5.5
    • None

    Description

      As reported on commons-dev (http://markmail.org/message/aqb23nnzyy2ar3vs), when waiting threads are interrupted, GOP, GKOP may leak capacity. I do not yet have a test case to confirm this, but I suspect that the problem reported by the user is caused by a missing _allocationQueue.remove(latch) before rethrowing InterruptedException in borrowObject.

      Attachments

        Activity

          People

            Unassigned Unassigned
            psteitz Phil Steitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: