~/talk

Why user-mode threads are (often) the right answer

Talkat JPoint 2021 · 2021-04-13..04-17· [concurrency, java]
links:none on file
slides:none on file

Project Loom adds virtual threads to OpenJDK so a JVM can host millions of user‑mode threads scheduled onto a few OS carrier threads, transparently turning blocking JDK IO into nonblocking operations under the hood. The VM prototype reports about 200 ns for a context switch and aims for parity with existing Thread APIs, debuggers and JFR. The implementation spans VM changes, library shims and schedulers, has monthly early‑access builds, and already demonstrates practical scalability with conventional synchronous code.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 2:22Project Loom mission and virtual threads
  3. 7:21Synchronous vs asynchronous programming trade-offs
  4. 9:30Little's Law and concurrency explained
  5. 13:05Thread pools and their limitations
  6. 20:55Virtual threads vs platform threads design
  7. 28:29Algorithmic vs syntactic concurrency perspectives
  8. 33:51Processes and threads as state machines
  9. 39:56Async/await vs threads semantic differences
  10. 45:42Resizable stacks and language constraints
  11. 51:27Performance metrics: latency, throughput, impact
  12. 57:34Why Java chose user-mode threads
  13. 1:00:09Language comparison insights
  14. 1:02:17Current Project Loom implementation status
  15. 1:05:11Feedback and early access builds
  16. 1:07:27Q&A and future JDK releases
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.