~/talk

A Dev Persepctive on Java Loom

Talkat EclipseCon 2023 · 2023-10-16..10-19· [java]
links:none on file
slides:none on file

Java 21 ships stable virtual threads and the tests here create 1 million → 64 million in under 5s using only 3–8 carrier (OS) threads, versus a platform-thread limit around ~32k. Memory scales roughly ~1 KB per virtual thread, and ZGC shows best results in these experiments. Monitoring relies on JFR virtual-thread events, jcmd thread dumps and configuring the carrier fork pool and heap max; structured concurrency and scoped values remain preview features to test before replacing thread‑local usage.

AI-written summary · about

  1. 0:00Introduction
  2. 1:32Java Loom features
  3. 2:36Java concurrency evolution
  4. 3:17Thread-per-request problems
  5. 5:27Reactive programming challenges
  6. 6:55Virtual threads solve issues
  7. 9:20Virtual threads principles
  8. 11:10Performance test
  9. 15:56Thread unmounting limits
  10. 17:02Monitoring virtual threads
  11. 19:08Configuring virtual threads
  12. 21:22Loom-friendly code
  13. 23:08Virtual threads in Quarkus/Helidon
  14. 25:40Benchmarking virtual threads in applications
  15. 27:27Short-term actions
  16. 28:08Mid-term prep
  17. 28:32Long-term adoption
  18. 29:16Q&A: Simple apps
  19. 31:11Q&A: Reactive future
  20. 32:16Q&A: Testing tools
  21. 33:44Q&A: OS context switching
  22. 35:32Closing
~/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.