[jboss-jira] [JBoss JIRA] (JBJCA-1236) Race condition in SemaphoreConcurrentLinkedQueueManagedConnectionPool
John O'Hara (JIRA)
issues at jboss.org
Mon Nov 17 12:25:39 EST 2014
John O'Hara created JBJCA-1236:
----------------------------------
Summary: 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.2.0.Final
Reporter: John O'Hara
Assignee: Jesper Pedersen
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