~/talk

Loom: Revolution or Implementation Detail?

TalkinPolishat Confitura 2022 · on Saturday, 2022-06-25· [java, concurrency]
slides:none on file

Project Loom introduces virtual threads and continuations-on-heap to the JVM so programs can create hundreds of thousands to millions of lightweight threads (demo: one million sleeping virtual threads) by multiplexing them onto a small number of carrier threads. It targets I/O-heavy workloads and lets traditional blocking APIs scale, but faces drawbacks: increased GC pressure from millions of continuation objects, no built-in preemption for CPU-bound tasks, and the need for careful use of blocking vs non-blocking APIs and resource limits.

AI-written summary · about

  1. 0:00Loom in Java
  2. 7:47Virtual threads in Loom
  3. 11:22Continuation mechanism
  4. 18:04Carrier thread pool
  5. 26:23Virtual threads pros/cons
  6. 33:27Performance and GC impact
  7. 36:35Loom vs reactive
  8. 40:45Loom status and testing
  9. 42:54Summary and Q&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.