[concurrency-interest] Visualize parallelism

Doug Lea dl at cs.oswego.edu
Wed Feb 16 18:50:00 EST 2011

On 02/16/11 09:12, Kasper Nielsen wrote:
> ForkJoinPool uses
> ForkJoinTask.exec() which is protected. This makes it difficult to create
> generic wrappers,
> Any reason not to make ForkJoinTask.exec() public?

The use of "protected" in FJ methods eliminates one kind
of error that we'd otherwise see and internally need to cope
with -- it makes it hard at best to call them from outside
of a FJ computation.


More information about the Concurrency-interest mailing list