~/talk

Concurrent and Asynchronous Programming: Loom in Java 20 and 21

TalkinFrenchat Devoxx France 2023 · 2023-04-12..04-14· [java, concurrency]
slides:none on file

Loom introduces virtual threads (preview in JDK 20, intended final in JDK 21), structured concurrency (structured-task scopes for join/timeout semantics) and scoped values (immutable alternatives to thread‑locals). The talk shows that virtual threads make creating, blocking and storing threads 100–1,000× cheaper so millions of concurrent request-handling fibers become practical, and demos replacing a Spring Boot executor with virtual threads while preserving stack traces and scaling. The project is large (about 4–5 years and ~100k lines of changes).

AI-written summary · about

  1. 0:00Loom introduction
  2. 7:09Concurrent programming overview
  3. 12:49Blocking thread problem
  4. 21:41Virtual threads goals
  5. 29:02Advantages of blocking code
  6. 35:21Practical demo
  7. 36:23Structured concurrency
  8. 41:36Scope values and locals
  9. 46:30Java 21 roadmap
~/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.