~/talk

Get The Most Out of Virtual Threads in Java 25: A Deep Dive

Talkat Voxxed Days Ticino 2026 · 2026-02-05..02-06· [java, concurrency]
links:none on file
slides:none on file

Demonstrates concrete Java 25 changes: synchronized detaching fixed so virtual threads no longer block worker threads (100 virtual threads over 10 workers drops from ~10s to ~1s), StructuredTaskScope API is rewritten with a custom Joiner for aggregation and cancellation, and ScopedValues are stable in Java 25 replacing ThreadLocal for scoped data. Builds a Spring Boot demo with fake blocking REST calls, runs JMeter 1,000 concurrent users for 20s, and shows subtask-based concurrency, correct error handling, and measurable 1s responses.

AI-written summary · about

  1. 0:00Virtual threads intro
  2. 1:41Java 21 to 25 changes
  3. 5:27Synchronized blocks and performance
  4. 9:18Real app with virtual threads
  5. 15:33Structured concurrency in Java 25
  6. 21:56Reusable joiner implementations
  7. 28:56JMeter performance testing
  8. 31:44Scoped values vs thread locals
  9. 39:59Recap: virtual threads & structured concurrency
  10. 40:42Q&A
~/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.