~/talk

The Challenges of Introducing Virtual Threads to the Java Platform - Project Loom

Talkat JVM Language Summit 2023 · 2023-08-07..08-09· [java, concurrency]
slides:none on file

Project Loom makes virtual threads a permanent JDK 21 feature implemented on delimited continuations with a FIFO-configured ForkJoinPool whose worker carrier threads run many Java-lang Thread objects; demos include a 50,000-thread Game of Life and a 5 million virtual threads chat server that proves the socket/blocking API scales. Remaining issues: monitor pinning when parking, JVM TI and profiler gaps, thread-local memory bloat and startup/warmup behavior; many fixes are work in progress.

AI-written summary · about

  1. 0:00Intro
  2. 0:38Terminology
  3. 2:22Implementation
  4. 4:53APIs
  5. 7:00Progress
  6. 8:20Virtual Thread Ecosystem
  7. 11:02Problems with Virtual Threads
  8. 15:14Message around Migration
  9. 16:40Summary
  10. 19:30Challenges
  11. 23:01How do you organize them
  12. 24:26Threat hurting
  13. 26:14Recap
  14. 26:58Preview API
  15. 27:50Tree of Threads
  16. 28:32Thread Grouping
  17. 29:48Thread Locals
  18. 31:35Support for Thread Locals
  19. 34:31Moving away from Thread locals
  20. 37:10Networking
  21. 43:35Thread Dump
  22. 46:05Loom Resources
~/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.