ExecutionContextTasks
This tasks implementation uses execution contexts to spawn a parallel computation.
This tasks implementation uses execution contexts to spawn a parallel computation.
As an optimization, it internally checks whether the execution context is the
standard implementation based on fork/join pools, and if it is, creates a
ForkJoinTaskSupport
that shares the same pool to forward its request to it.
Otherwise, it uses an execution context exclusive Tasks
implementation to
divide the tasks into smaller chunks and execute operations on it.