[
https://issues.apache.org/jira/browse/POOL-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phil Steitz closed POOL-205.
----------------------------
> GKOP - inconsistent synchronisation of poolKeyList
> --------------------------------------------------
>
> Key: POOL-205
> URL: https://issues.apache.org/jira/browse/POOL-205
> Project: Commons Pool
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Sebb
> Fix For: 2.0
>
>
> poolKeyList is an ArrayList - which is not thread-safe.
> Updates are performed whilst holding the keyLock.writeLock.
> However, the list is read in evict() without using the same lock, so there's
> a potential for evict() to see stale or inconsistent state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)