[
http://jira.jboss.com/jira/browse/JBTM-365?page=comments#action_12417805 ]
Pavel Kadlec commented on JBTM-365:
-----------------------------------
I do not understand why you synchronize access to variable _synchs each time on different
variable. Against variable this, _synchs, and _syncLock. Is it plan? I am not sure. I can
not see all conseruences, but it looks strange.
addSynchronization calls during beforeCompletion are problematic
----------------------------------------------------------------
Key: JBTM-365
URL:
http://jira.jboss.com/jira/browse/JBTM-365
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JTA Implementation
Affects Versions: 4.3.0.GA
Reporter: Steven Hawkins
Assigned To: Andrew Dinn
Fix For: 4.4.CR1
Asynch calls to com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.addSynchronization
during beforeCompletion are problematic since access to _currentRecord and _synchs is
unsynchronized in addSynchronization wrt beforeCompletion. This is similar to JBTM-188.
--
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