~/talk

What's Looming in Java The Why and What of Project Loom

Talkat Devnexus 2022 · 2022-04-12..04-14· [java, concurrency]
slides:none on file

Project Loom adds JVM-managed virtual threads built on continuations that detach task state from OS threads so blocking IO no longer pins a thread. A demo replaces native threads that fail around ~7,500 with virtual threads that spawn up to 1,000,000 threads and still run, showing sleep/IO doesn’t hog carriers. Result: far denser concurrency, easier imperative exception handling and thread reuse; best for IO-bound, networked workloads, not CPU-bound parallelism.

AI-written summary · about

  1. 0:00Introduction to Loom
  2. 0:48Concurrency vs Parallelism
  3. 2:16The Need for Asynchrony
  4. 3:35Java's History of Threads
  5. 5:49Thread Limitations
  6. 8:25Performance Realities
  7. 10:58Calculating Thread Count
  8. 13:27Horizontal Scaling
  9. 15:59The Cost of Multi-threading
  10. 18:29Thread Limitation Demo
  11. 21:52Rethinking the Paradigm
  12. 23:48Co-routines
  13. 25:15Continuations in Java
  14. 29:43Virtual Threads
  15. 32:37Virtual Thread Demo
  16. 37:15Non-blocking I/O
  17. 40:04Exception Handling and Conclusion
~/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.