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

Maxwait exceeded causes pool capacity leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.5.1
    • None

    Description

      When exhausted action is set to WHEN_EXHAUSTED_BLOCK, maxwait is positive and client threads time out waiting for idle objects, capacity can be "leaked" from GenericObjectPools and GeneritCkeyedObjectPools.

      Test case and patch for GOP attached.

      Attachments

        1. latch_leak.patch
          2 kB
          Phil Steitz

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: