The divide-and-conquer mental model, ForkJoinPool's work-stealing deques (why idle threads steal from the tail of busy threads' deques), RecursiveTask vs RecursiveAction, fork/join sequencing to avoid thread starvation, commonPool dangers for I/O tasks, and how parallel streams use ForkJoin under the hood.
// Lessons
- 01soon
Divide-and-Conquer and the Fork/Join Mental Model
- 02soon
ForkJoinPool — Work-Stealing Deques and the Thread Count
- 03soon
RecursiveTask — Splitting Work and Joining Results
- 04soon
RecursiveAction — Fire-and-Forget Parallel Computation
- 05soon
ForkJoinPool.commonPool — What It Is and When Not to Use It
- 06soon
Parallel Streams and Fork/Join — The Hidden Connection