[jbosscache-issues] [JBoss JIRA] Resolved: (JBCACHE-1516) CacheStoreInterceptor hangs when concurrent access to txStores HashMap

Takayoshi Kimura (JIRA) jira-events at lists.jboss.org
Tue Jun 23 04:46:56 EDT 2009


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

Takayoshi Kimura resolved JBCACHE-1516.
---------------------------------------

    Fix Version/s: 3.2.0.GA
                   1.4.X
                   2.X
       Resolution: Done


The txStores field now uses ConcurrentHashMap class.

> CacheStoreInterceptor hangs when concurrent access to txStores HashMap
> ----------------------------------------------------------------------
>
>                 Key: JBCACHE-1516
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1516
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.4.0.GA, 2.2.0.GA, 3.0.0.GA
>            Reporter: Takayoshi Kimura
>            Assignee: Takayoshi Kimura
>             Fix For: 3.2.0.GA, 1.4.X, 2.X
>
>
> CacheStoreInterceptor has a HashMap txStores instance variable for cache stats. This map is accessed from multiple threads but not synchronized.
> With Sun JVM, concurrent write operations to a HashMap sometimes hang and consume 100% CPU. See the following bug report:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6484560
> This bug affects  all branches, 1.4.x, 2.2.x and trunk (3.x).

-- 
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