[
https://jira.jboss.org/browse/ISPN-766?page=com.atlassian.jira.plugin.sys...
]
Galder Zamarreño resolved ISPN-766.
-----------------------------------
Resolution: Done
Rather than having a shared executor factory, NamedExecutorFactory now holds a ref to an
instance per each executor type since executor settings can only be defined at a global
basis. This enables caches to share the same executor factory for things like eviction,
vastly reducing the amount of threads on multi-cache environments such as Hibernate 2LC
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