On 05-10-2011 05:08, Andrew Thompson wrote:
So is there any convergence between these ideas? Should we be thinking about
adding a default ForkJoinPool to the platform, or should we be thinking about
adding a default ExecutorService to the platform, which may or may not be a
ForkJoinPool based on some clever logic the platform vendor could run based on
# of cpus, memory, etc?
I think the idea of a platform ExecutorService is interesting and may warrant
its own separate JEP, which I'd be happy to write (I was thinking of doing so
anyway, but I also thought it might make sense to prototype something first).
Andrew,
There was a discussion about this on the jsr-166 mailing list last year:
http://cs.oswego.edu/pipermail/concurrency-interest/2010-August/007334.html
I think there was pros and cons, so nothing really happened.
cheers
Kasper