Concurrency

Многопоточность Java с нуля: потоки и модель памяти, гонки, synchronized и блокировки, atomics, пулы, CompletableFuture и виртуальные потоки. Разберётесь, где рвётся код.

A section starting from scratch on multithreading and concurrency in Java: how threads and the memory model work, why races happen and how to guard against them, what tools are available — from synchronized to Java 21 virtual threads — and which bugs lie in wait. Best read in order.