~/talk

What is Looming in Java

Talkat Devnexus 2024 · 2024-04-09..04-11· [java]
links:none on file
slides:none on file

Project Loom lands as JDK 21 virtual threads that let Java create thousands of lightweight threads mapped onto a handful of OS threads; a demo replaces a platform thread startup that takes 126s vs 17s startup with virtual threads, creates 50 virtual threads backed by nine platform threads on a 12‑logical‑core laptop, and uses the new executor factory Executors.newVirtualThreadPerTaskExecutor. Virtual threads dramatically help IO‑bound servers, remove fixed thread pools, and show little win for CPU‑bound heavy computation.

AI-written summary · about

  1. 0:00Introduction to Project Loom
  2. 2:29Thread per request model
  3. 11:52Platform threads limitations
  4. 19:31Virtual threads introduction
  5. 26:19Virtual vs platform threads benchmark
  6. 30:57Creating virtual threads demo
  7. 38:55IO-bound vs CPU-bound performance
  8. 43:52Virtual threads behind the scenes
  9. 49:12Q&A session
~/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.