[infinispan-issues] [JBoss JIRA] Commented: (ISPN-766) Individual eviction threads still created in spite of shared executor factory
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Thu Nov 11 05:43:01 EST 2010
[ https://jira.jboss.org/browse/ISPN-766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562775#action_12562775 ]
Galder Zamarreño commented on ISPN-766:
---------------------------------------
The problem is that NamedExecutorsFactory creates a brand new instance ScheduledExecutorFactory for each started cache. So, it doesn't matter that DefaultSharedScheduledExecutorFactory is used cos the AbstractSharedExecutorFactory from which it extends stores executors as instance variables. So, effectively, 50 DefaultSharedScheduledExecutorFactory are created, which should not be the case.
> Individual eviction threads still created in spite of shared executor factory
> -----------------------------------------------------------------------------
>
> Key: ISPN-766
> URL: https://jira.jboss.org/browse/ISPN-766
> Project: Infinispan
> Issue Type: Bug
> Components: Eviction
> Affects Versions: 4.2.0.BETA1
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 4.2.0.CR1
>
> Attachments: 50threads-dump.txt, MultiEvictionCacheTest.java
>
>
> The default shared executor factory does not seem to be working correctly. In the attached test, I've defined 50 new cache configurations under the same cache manager that use the same eviction settings, and after starting them all, I see 50 eviction threads. See attached thread dump.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list