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

StackKeyedObjectPool.getNumActive() needs to be synchronized

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: