Concurrency
GMP 调度与 M:N 复用、goroutine 成本与生命周期、channel 的阻塞与关闭语义、select 与超时、context 取消传播、Mutex/WaitGroup/atomic、happens-before 与数据竞争、worker pool、扇出扇入与泄漏排查、pprof 剖析。
GMP 调度与 M:N 复用、goroutine 成本与生命周期、channel 的阻塞与关闭语义、select 与超时、context 取消传播、Mutex/WaitGroup/atomic、happens-before 与数据竞争、worker pool、扇出扇入与泄漏排查、pprof 剖析。
Platform threads, virtual threads, coroutines and effect systems: how each JVM language expresses concurrency.
The GIL, threads, processes and asyncio: which execution model fits which load, how cancellation propagates, and where blocking calls and missing backpressure break a service.
Futures as compiler-built state machines, the executor that polls them, and the Send and Sync markers that keep shared state honest.
Scheduling and context switching: what the OS shares between execution units and what it does not.
Tiered compilation, inlining and deoptimization, safepoints, the Java Memory Model and how virtual threads change the cost of blocking.