[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-1355) java.util.ConcurrentModificationException under load in JBoss Cache 2.0.0.GA
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Thu May 29 09:53:48 EDT 2008
[ http://jira.jboss.com/jira/browse/JBCACHE-1355?page=all ]
Manik Surtani resolved JBCACHE-1355.
------------------------------------
Resolution: Done
Fixed in trunk. Will be released in the next CR for 2.2.0.
In the meanwhile, if you feel like trying it out, grab trunk and build it! :-)
> java.util.ConcurrentModificationException under load in JBoss Cache 2.0.0.GA
> ----------------------------------------------------------------------------
>
> Key: JBCACHE-1355
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1355
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.0.0.GA
> Environment: JDK 1.6.0_5
> Reporter: Anton Spirkov
> Assigned To: Manik Surtani
> Priority: Critical
> Fix For: 2.2.0.GA
>
>
> Concurrent Modification Exception appears under load (~500 TPS). We Add, Read and Remove same objects all the time during the tests.
> The Exception:
> java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
> at java.util.HashMap$KeyIterator.next(HashMap.java:828)
> at java.util.AbstractCollection.addAll(AbstractCollection.java:305)
> at java.util.HashSet.<init>(HashSet.java:100)
> at org.jboss.cache.UnversionedNode.getKeysDirect(UnversionedNode.java:433)
> at org.jboss.cache.interceptors.CacheLoaderInterceptor.mustLoad(CacheLoaderInterceptor.java:303)
> at org.jboss.cache.interceptors.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:168)
> at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:157)
> at org.jboss.cache.interceptors.ActivationInterceptor.invoke(ActivationInterceptor.java:67)
> at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
> at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:37)
> at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
> at org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:203)
> at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
> at org.jboss.cache.interceptors.NotificationInterceptor.invoke(NotificationInterceptor.java:32)
> at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
> at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:298)
> at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:131)
> at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
> at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:81)
> at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
> at org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:62)
> at org.jboss.cache.CacheImpl.invokeMethod(CacheImpl.java:3939)
> at org.jboss.cache.CacheImpl.get(CacheImpl.java:1441)
> at org.jboss.cache.CacheImpl.get(CacheImpl.java:1415)
> Please don't hesitate to contact me for additional information. We use jboss cache at the production site, so it's quite critical for us to solve this issue. Thanks!
--
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