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

Inconsistent synch in InvalidEvictorLender, GenericKeyedObjectPool, GenericObjectPool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.5, 2.0
    • None

    Description

      InvalidEvictorLender does not always synchronize referant field.

      Patch to follow - please check that the correct synch object is used.

      Similar problems apply to GenericKeyedObjectPool:

      Inconsistent synchronization of org.apache.commons.pool.impl.GenericKeyedObjectPool._testOnBorrow; locked 66% of time
      GenericKeyedObjectPool.java line 913
      Inconsistent synchronization of org.apache.commons.pool.impl.GenericKeyedObjectPool._testOnReturn; locked 66% of time
      GenericKeyedObjectPool.java line 1096

      And to GenericObjectPool:

      Inconsistent synchronization of org.apache.commons.pool.impl.GenericObjectPool._testOnBorrow; locked 66% of time
      GenericObjectPool.java line 915
      Inconsistent synchronization of org.apache.commons.pool.impl.GenericObjectPool._testOnReturn; locked 66% of time
      GenericObjectPool.java line 1017

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: