~/talk

Prepare for what "Loom"s ahead

Talkat Devoxx Ukraine 2021 · 2021-11-19..11-20· [java, concurrency]
slides:none on file

Demo shows a normal cached thread pool hits OOM at 16,384 platform threads while virtual threads create millions, reportedly 23 million virtual threads in 16 GB RAM and thread creation is ~30× faster. Code examples use Thread.startVirtualThread and Executors.newVirtualThreadPerTaskExecutor (auto-closeable). Loom runs virtual threads on ForkJoin carrier threads, swaps out blocked virtual threads, and uses managed blockers for native waits; caveats include synchronized/monitor issues, bias-locking changes, and expensive thread-locals and IO buffer objects.

AI-written summary · about

  1. 0:00Start
  2. 0:31Why Do We Need this Project Loom
  3. 1:45Cache Thread Pool
  4. 12:20Virtual Threads
  5. 12:53Carrier Threads
  6. 14:12Green Threads
  7. 16:48Start Virtual Thread
  8. 18:10Create Virtual Threads
  9. 18:41Polymorphic Builder
  10. 19:52Executive Service
  11. 22:09Preview Release
  12. 22:50Experimental Features
~/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.