~/talk

Project Loom Update

Talkat JVM Language Summit 2019 · 2019-07-29..07-31· [java, concurrency]
links:none on file
slides:none on file

Project Loom adds lightweight user threads (fibers) to the JVM by building fibers from continuations + scheduler that run on a smaller set of OS carrier threads, with the current prototype already supporting tens of millions of fibers in principle. Implemented pieces include blocking-friendly java.net and java.nio changes, fiber scopes for structured concurrency with cooperative cancellation and deadlines, and a thread-object inflation shim to preserve legacy APIs. Remaining problems: can't yield while holding a monitor (native-frame and monitor limitations), methodhandle migration, and ongoing performance tuning (lazy-copy, generated freeze code, processor-local experiments).

AI-written summary · about

  1. 0:00Start
  2. 2:01How Are Fibers Implemented
  3. 11:24Structure Concurrency
  4. 29:41Debugger Support
  5. 31:44Conformation Freezing
  6. 32:43Lazy Copy
  7. 35:00Freezing the Objects
  8. 41:33Next Steps
~/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.