[jbossts-issues] [JBoss JIRA] Commented: (JBTM-306) race condition in LockManager

Jonathan Halliday (JIRA) jira-events at lists.jboss.org
Wed Nov 21 11:07:18 EST 2007


    [ http://jira.jboss.com/jira/browse/JBTM-306?page=comments#action_12388641 ] 
            
Jonathan Halliday commented on JBTM-306:
----------------------------------------

Introduced new private final Object on which to sync as an alternative to using locksHeld.
fix in 4.2.3.SP branch at rev 16731, ported to trunk at rev 16732.

> race condition in LockManager
> -----------------------------
>
>                 Key: JBTM-306
>                 URL: http://jira.jboss.com/jira/browse/JBTM-306
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Transaction Core
>    Affects Versions: 4.2.3.SP6, 4.3.0.BETA2
>            Reporter: Jonathan Halliday
>         Assigned To: Jonathan Halliday
>             Fix For: 4.3.0.BETA3, 4.2.3.SP8
>
>
> LockManager has code block synchronized (locksHeld) but changes locksHeld to point to a new object within it, breaking the synchronization.

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

        



More information about the jbossts-issues mailing list