[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1304) OrderedSynchronizationHandler not thread safe

Manik Surtani (JIRA) jira-events at lists.jboss.org
Fri Mar 7 11:31:13 EST 2008


OrderedSynchronizationHandler not thread safe
---------------------------------------------

                 Key: JBCACHE-1304
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1304
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Transactions
    Affects Versions: 2.1.0.CR4, 2.1.0.CR3, 2.0.0.GA
            Reporter: Manik Surtani
         Assigned To: Manik Surtani
             Fix For: 2.1.0.GA


OrderedSynchronizationHandler uses a static Map to hold instances referenced by a Transaction object, and the factory method on the OSH uses this map to retrieve instances.

1)  This map is unguarded and hence not thread safe.
2)  The map is static, which means it is shared across all cache instances in a given JVM.  Not intended to work this way.

-- 
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 jboss-jira mailing list