[concurrency-interest] ForkJoinPool cap on number of threads
martinrb at google.com
Wed Mar 25 14:23:03 EDT 2015
On Wed, Mar 25, 2015 at 8:24 AM, Luke Sandberg <lukeisandberg at gmail.com>
> Looks like i can have my ForkJoinThreadFactory return null to limit active
> threads. (it would be nice if that was documented on ForkJoinThreadFactory)
I agree that we should make that clearer - there are existing snippets of
javadoc, but we should add something (perhaps even sample code) showing how
to impose a limit.
> In that snapshot it looks like the maxSpares limitation only applies to
> the common pool, is there a plan to add a standard maxSize mechanism for
> user pools?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest