[
https://jira.jboss.org/browse/ISPN-766?page=com.atlassian.jira.plugin.sys...
]
Galder Zamarreño commented on ISPN-766:
---------------------------------------
The solution needs to be different. Why on earth create a brand new
Default(SharedScheduled)ExecutorFactory whenever each cache is started if properties for
these are defined at a global level? If you could define these properties on a cache
level, then it'd make sense to create a brand new one each time, as long as properties
were not the same, but you can't do that, so that needs to be solved first of all.
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