~/talk

Fruits of the Loom – Lightweight Concurrency For the Java Platform

Talkat JDD 2019 · 2019-10-14..10-15· [java, concurrency]
links:none on file
slides:none on file

Project Loom prototypes add continuations and fibers plus a fiber scope for structured concurrency; continuations capture execution, fibers are many‑to‑many user threads with ~300‑byte metadata and pay‑as‑you‑go stacks. A custom fiber thread executor for Tomcat (built with Gradle, Spring services, OpenJDK Loom EA) runs load tests via an attack script: fibers handle 1,000 req/s on two kernel threads with 100% success, while plain java.lang.Threads hit only ~58% success at 10 req/s. Limitations: cannot yield when holding native monitors or native stacks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:35Project Loom overview
  3. 4:28Defining threads
  4. 7:20Thread implementation models
  5. 11:22Limitations of current Java
  6. 15:17Continuations
  7. 21:47Fibers
  8. 27:01Structured concurrency
  9. 30:20Demo 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.