You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/04/13 20:35:08 UTC

[jira] Resolved: (POOL-113) Inconsistent synch in InvalidEvictorLender, GenericKeyedObjectPool, GenericObjectPool

     [ https://issues.apache.org/jira/browse/POOL-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved POOL-113.
-----------------------

    Fix Version/s: 1.5.5
       Resolution: Fixed

Also fixed in 2.0 branch - see r603451 (also shown in SVN history on this issue)

> Inconsistent synch in InvalidEvictorLender, GenericKeyedObjectPool, GenericObjectPool
> -------------------------------------------------------------------------------------
>
>                 Key: POOL-113
>                 URL: https://issues.apache.org/jira/browse/POOL-113
>             Project: Commons Pool
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 1.5.5, 2.0
>
>         Attachments: InvalidEvictorLender.txt
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira