[jboss-user] [JBossCache] - Re: JBC 2 performance

aditsu do-not-reply at jboss.com
Fri Jul 20 06:55:31 EDT 2007


"manik.surtani at jboss.com" wrote : http://jira.jboss.com/jira/browse/JBCACHE-1148
  | 
Awesome!

I decided to get JBossCache from CVS and try it. I haven't checked the performance, but I still got the concurrency problems:

java.util.ConcurrentModificationException
	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
	at java.util.HashMap$EntryIterator.next(HashMap.java:883)
	at java.util.HashMap$EntryIterator.next(HashMap.java:881)
	at java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$1.next(Collections.java:1347)
	at java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet$1.next(Collections.java:1349)
	at org.jboss.cache.util.MapCopy.(MapCopy.java:40)
	at org.jboss.cache.notifications.Notifier.copy(Notifier.java:611)
	at org.jboss.cache.notifications.Notifier.notifyNodeModified(Notifier.java:236)
	at org.jboss.cache.CacheImpl._remove(CacheImpl.java:2555)


What happens is that multiple threads are putting and removing keys in the same node, and the cache doesn't seem to like it.
This is not really related to the original message, should I start a new thread about it?

Thanks
Adrian

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066121#4066121

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066121



More information about the jboss-user mailing list