commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (POOL-162) When waiting threads are interrupted, pool can leak capacity
Date Fri, 19 Mar 2010 11:39:27 GMT

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

Mark Thomas resolved POOL-162.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.5

Thanks for the review Phil. That concurs with my view.

> When waiting threads are interrupted, pool can leak capacity
> ------------------------------------------------------------
>
>                 Key: POOL-162
>                 URL: https://issues.apache.org/jira/browse/POOL-162
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4
>            Reporter: Phil Steitz
>             Fix For: 1.5.5
>
>
> As reported on commons-dev (http://markmail.org/message/aqb23nnzyy2ar3vs), when waiting
threads are interrupted, GOP, GKOP may leak capacity.   I do not yet have a test case to confirm
this, but I suspect that the problem reported by the user is caused by a missing  _allocationQueue.remove(latch)
before rethrowing InterruptedException in borrowObject.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message