Concurrency and Parallelism
Multi-core architectures, concurrency versus parallelism, processes, threads, tasks, and the hazards of shared mutable state.
The Fork/Join Framework
Parallel divide and conquer with the Java Fork/Join framework: array operations, file processing, Fibonacci, Quicksort, and sequential thresholds.
Performance of Parallel Algorithms
Work and span analysis, speedup, efficiency, Amdahl law, and what makes an algorithm parallelize well.
Summary
Chapter 9 summary: key ideas, Java Fork/Join essentials, and parallel performance formulas.
Exercises
Exercises with solutions on concurrency concepts, Java Fork/Join tasks, and parallel performance metrics.
Proofs
Formal proofs for Chapter 9: Fork/Join equivalence, Amdahl and Gustafson laws, Karp-Flatt metric, work-span bounds, and logarithmic span.
References
Textbooks, original papers, and online resources on Parallel Algorithms.