~/talk

Beyond Virtual Threads: Structured Concurrency

Talkat IntelliJ IDEA Conf 2026 · 2026-09-08..09-09· [java, concurrency]
slides:none on file

A Spring Boot 4 app on JDK 26 is built live, switching Tomcat handlers to Virtual Threads enabled via spring.threads.virtual, then using StructuredTaskScope to fork IO calls (accounts, loans, two credit-score services) so they run concurrently and join with short‑circuiting and cancellation propagation via StructuredTaskScope.join with anySuccessful joiner. ScopedValue holds a request UUID across forked virtual threads for logging (ScopedValue for request ID). Observability is shown with IntelliJ's thread‑dump view; demo code is on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 1:42Project Loom
  3. 2:36Virtual Threads
  4. 13:30Structured Concurrency
  5. 46:09Scoped Values
  6. 1:01:52Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.