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

[pool] synchronization issues in GenericKeyedObjectPool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3
    • None
    • Operating System: All
      Platform: All

    • 37234

    Description

      This patch implements the a fix for the synchronization issues found by Mayur
      Naik for GenericKeyedObjectPool.

      This patch also removes synchronization on the getNumTests(), incrementActiveCount(Object),
      decrementActiveCount(Object), getActiveCount(Object), and calculateDefecit(Object) private methods
      because they are all only ever called from within a synchronized context.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--GenericKeyedObjectPool-synchronized.patch
          5 kB
          Sandy McArthur (from Bugzilla import)

        Activity

          People

            Unassigned Unassigned
            sandymac@apache.org Sandy McArthur (from Bugzilla import)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: