~/talk

Loom's Next Phases

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java]
slides:none on file

Progress on virtual-thread pinning fixes lands in Loom Early Access builds and targets JDK 24; the fix lets a virtual thread unmount even inside synchronized methods so pinning is no longer a correctness hazard (one small performance niggle remains). Diagnostics added include a JSON thread dump with tens of thousands of threads parsable by tools, new JFR events, heap visibility, and a jcmd scheduler command that reports mounted/queued counts and allows dynamic target parallelism for containers. Workarounds include migrating hot sync code to ReentrantLock.

AI-written summary · about

  1. 0:00Project Loom introduction
  2. 1:58Virtual thread adoption
  3. 3:55Handling pinning issues
  4. 7:16Replacing synchronization
  5. 9:02Testing Early Access builds
  6. 12:35JDK serviceability tools
  7. 15:26Monitoring and concurrency
~/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.