~/talk

Project Loom: Helping Write Concurrent Applications on the Java Platform

Talkat Devoxx Belgium 2019 · 2019-11-04..11-08· [concurrency, java]
links:none on file
slides:none on file

Project Loom adds virtual threads to the JDK implemented in Java on top of VM continuations, multiplexing millions of lightweight threads onto a few kernel threads; prototype shows stacks that grow/shrink, per-thread footprint in the hundreds of bytes and task switches well under a microsecond. Synchronous socket I/O is reimplemented in Java, structured APIs for structured concurrency and scope locals manage cancellation, deadlines and thread-local alternatives; native blocking and synchronized monitors remain limitations.

AI-written summary · about

  1. 0:00Introduction to Project Loom
  2. 0:39The problem with threads
  3. 4:23Virtual threads solution
  4. 7:17Implementing virtual threads
  5. 10:53Structured concurrency
  6. 15:10Scopes and task management
  7. 20:54Scope locals vs thread locals
  8. 27:22Advanced thread customization
  9. 29:58Under the hood: continuations
  10. 36:38Current status and limitations
  11. 41:48Q&A and final thoughts
~/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.