Lightning Talk: Continuations & Filters
summary
Proposal adds delimited continuation support directly to HotSpot so userland code implements a Java Fiber class that behaves like a thread but is scheduled by the JVM, not the OS. Claim: servers waiting on I/O can scale to a million concurrent connections because blocking becomes cheap and asynchronous I/O runs under the hood. Implementation plan: one HotSpot primitive that captures the stack, fibers built in pure Java, plus work on synchronization semantics, object weights and retrofitting IO.
AI-written summary · about
related talks
59mContinuations and Fibers: The New Frontier for Java
34mContinuations - Under the Covers
36mProject Loom
46mLoom - Where Are We?
43mProject Loom: Fibers and Continuations for the Java Virtual Machine
42mProject Loom Update
50mProject Loom: Helping Write Concurrent Applications on the Java Platform
46mContinuations: The magic behind virtual threads in Java
