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

StackKeyedObjectPool.getNumActive() needs to be synchronized

    XMLWordPrintableJSON

Details

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

    Description

      StackKeyedObjectPool.getNumActive() needs to be synchronized.

      All the writes to _totActive are synch., the reads need to be also.

      Note that the corresponding method in StackObjectPool is already synch.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: