[jboss-jira] [JBoss JIRA] (JBJCA-1236) Race condition in SemaphoreConcurrentLinkedQueueManagedConnectionPool

Jesper Pedersen (JIRA) issues at jboss.org
Tue Nov 18 09:29:40 EST 2014


     [ https://issues.jboss.org/browse/JBJCA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesper Pedersen resolved JBJCA-1236.
------------------------------------
    Resolution: Done


> Race condition in SemaphoreConcurrentLinkedQueueManagedConnectionPool
> ---------------------------------------------------------------------
>
>                 Key: JBJCA-1236
>                 URL: https://issues.jboss.org/browse/JBJCA-1236
>             Project: IronJacamar
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.29.Final, 1.2.0.Final
>            Reporter: John O'Hara
>            Assignee: Jesper Pedersen
>             Fix For: 1.0.30.Final, 1.2.1.Final
>
>
> A race condition in the ConnectionListenerWrapper and incorrect logic when returning the ConnectionListener object to the ConcurrentLinkedQueue means that stale field values are sometimes seen for ConnectionListenerWrapper.hasPermit().
> Under heavy contention, a stale value in hasPermit() means permits.release() is not called and the semaphores available reduce over time. 
> The mcp effectively shrinks over time.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list