Java Multithreading, Concurrency, and Parallelism — Part 22.3
ForkJoinPool and Workstealing
In the previous article, we have seen how to implement parallel processing using
ForkJoinPool. In this article, we will go to the depths of ForkJoinPool and how the work-stealing happens behind the scenes.
As a quick recap of what we have seen in the previous article, the fork/join framework has three main classes:
ForkJoinPool is an implementation of
ExecutorService. We know that