Old habits from platform threads actively hurt virtual threads. This closing article covers why you should stop pooling virtual threads, use semaphores instead of pool size for concurrency limits, keep CPU-bound work on bounded executors, and what to monitor before shipping to production.
ThreadLocal was built for a world with hundreds of threads, not millions. This article covers ScopedValue, an immutable, structurally-scoped alternative that propagates cleanly to forked virtual threads without the memory and inheritance costs of ThreadLocal.
CompletableFuture composition leaves failed sibling tasks running with nobody watching them. This article introduces StructuredTaskScope, which ties a group of subtasks to a single enclosing scope so they succeed, fail, and cancel together.
Not every blocking call causes a virtual thread to unmount. This article covers thread pinning caused by synchronized blocks and native frames, how to detect it with -Djdk.tracePinnedThreads and JFR, and why swapping synchronized for ReentrantLock fixes most hot paths.
Virtual threads are scheduled by the JVM, not the OS, and multiplex onto a small pool of carrier (platform) threads in an M:N model. This article explains mounting and unmounting, continuations, and why this "context switch" is far cheaper than an OS-level one.
Virtual threads are still java.lang.Thread, just created and scheduled differently. This article covers Thread.ofVirtual(), Thread.startVirtualThread(), and Executors.newVirtualThreadPerTaskExecutor(), and contrasts their defaults with platform thread creation from Phase 1.
Thread pools cap how many concurrent I/O-bound requests a JVM can serve because every platform thread reserves real OS resources. This article explains that scalability wall and how virtual threads change the economics of writing simple, blocking-style concurrent code.
A pipeline that never times out will eventually hang forever on a slow dependency. This closing article of the phase covers orTimeout, completeOnTimeout, and cancel, and is honest about what cancellation in Java actually stops and what it doesn't.
thenCombine merges exactly two futures. When a pipeline needs to fan out across an arbitrary list of async calls and fan back in, CompletableFuture.allOf and anyOf are the tools, and this article covers the awkward parts of using them.
Every CompletableFuture method has a plain version and an *Async version, and the difference is entirely about which thread runs the callback. This article explains that distinction and why blocking calls should never run on the shared common pool.