[infinispan-issues] [JBoss JIRA] (ISPN-4702) The ForkJoin thread pool should be started lazily
Dan Berindei (JIRA)
issues at jboss.org
Wed Oct 15 06:50:35 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011996#comment-13011996 ]
Dan Berindei commented on ISPN-4702:
------------------------------------
The common pool is created the first time you create an {{EquivalentConcurrentHashMapV8}}, and it can't be stopped.
But AFAICT it doesn't create any worker threads until something is submitted to the pool, just like {{ThreadPoolExecutor}}.
> The ForkJoin thread pool should be started lazily
> -------------------------------------------------
>
> Key: ISPN-4702
> URL: https://issues.jboss.org/browse/ISPN-4702
> Project: Infinispan
> Issue Type: Enhancement
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 7.0.0.Beta1
> Reporter: Sanne Grinovero
> Assignee: Dan Berindei
> Priority: Minor
>
> I'm not using these features, yet a significant amount of threads are being started.
> We should at least start this pool only on-demand, and ideally shut it down after a grace period if it's no longer being used.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the infinispan-issues
mailing list