Am 08/08/16 um 01:16 schrieb Claes Redestad: > Hi Christian, > > have you looked at java.util.concurrent.ForkJoinPool.commonPool()?
Thanks for pointing that out. I looked at Java 7 documentation and did not notice a common pool got added in Java 8. I will postpone any effort on parallelization until targetting Java 8. I am not sure if that is really what I am looking for, however. Need to gather experience to find out about. As Brian Goetz has pointed out, it is about being "a good citizen". Before asking, I looked at some open source projects to find out how they are implementing parallelization. Very few do. Numbers seem to be increasing. Developers are talking about it. Most of the time they start with employing theire own executors internally. So maybe the common pool should be pushed somehow so it gets more attention on e.g. Stackoverflow. The Java tutorials only contain a basic explanation of the fork/join framework at <http://docs.oracle.com/javase/tutorial/essential/concurrency/forkjoin.html>. They really should be enhanced to teach how to use the common pool properly. Regards, -- Christian
