[jbossts-issues] [JBoss JIRA] Updated: (JBTM-564) TransactionReaper code is not waking up threads correctly

Andrew Dinn (JIRA) jira-events at lists.jboss.org
Fri Jun 5 04:52:56 EDT 2009


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

Andrew Dinn updated JBTM-564:
-----------------------------

    Fix Version/s: 4.6.1.CP01
                   4.7.0


> TransactionReaper code is not waking up threads correctly
> ---------------------------------------------------------
>
>                 Key: JBTM-564
>                 URL: https://jira.jboss.org/jira/browse/JBTM-564
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.6.1
>            Reporter: Andrew Dinn
>            Assignee: Andrew Dinn
>             Fix For: 4.6.1.CP01, 4.7.0
>
>
> The code in TransactionReaper is using wait and notify to suspend and wake up threads contending to add and remove transaction controls and to manage transfer of expired controls between the main queue and the reaper worker queue. It should actually be calling notifyAll() since notify() only wakes up one thread and multiple threads may be queued. All occurences of calls to notify() need to be transformed to notifyAll().

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

        



More information about the jbossts-issues mailing list