[jbosscache-issues] [JBoss JIRA] Updated: (JBCACHE-1304) OrderedSynchronizationHandler not thread safe

Manik Surtani (JIRA) jira-events at lists.jboss.org
Tue Jan 20 16:28:04 EST 2009


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

Manik Surtani updated JBCACHE-1304:
-----------------------------------

    Fix Version/s: 1.4.X


> OrderedSynchronizationHandler not thread safe
> ---------------------------------------------
>
>                 Key: JBCACHE-1304
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1304
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Transactions
>    Affects Versions: 1.4.1.GA, 2.0.0.GA, 2.1.0.CR3, 2.1.0.CR4
>            Reporter: Manik Surtani
>            Assignee: Manik Surtani
>             Fix For: 2.1.0.GA, 1.4.X
>
>
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosscache-issues mailing list