~/talk

Sailing Modern Java

Talkat Devoxx Ukraine 2023: AI – Friend or Foe? · on Friday, 2023-09-22· [java]
slides:none on file

Java 21 adds concrete features: virtual threads let a demo create one million lightweight threads for IO-bound workloads, but they don’t speed CPU-bound code and must not be pinned (use -XX:TracePinThreads or JFR to find pins). Structured concurrency and scope values simplify cancellation and thread-local reasoning. Project Panama’s foreign memory API and vector API expose fast native access. Generational ZGC drops GC pause from ~1133 ms (G1 example) to ~30 µs; use -XX:+UseZGC -XX:+ZGenerational.

AI-written summary · about

  1. 0:00Welcome to modern Java
  2. 1:33Speaker background
  3. 4:46LTS vs latest Java versions
  4. 8:16Preview features in Java
  5. 9:00Project Loom: Virtual threads
  6. 11:07How virtual threads work
  7. 13:56When to use virtual threads
  8. 17:21Virtual threads performance
  9. 18:45Pitfalls with virtual threads
  10. 20:53Fixing thread pinning
  11. 23:00Structured concurrency
  12. 26:10Cancellation in tasks
  13. 28:19Scope values replacing thread locals
  14. 32:54Pattern matching and records
  15. 38:11Record patterns and variables
  16. 40:17Project Panama: Foreign memory API
  17. 43:06Vector API for performance
  18. 46:40Generational ZGC
  19. 50:59Sequence collections
  20. 52:43String templates
  21. 55:10Unnamed classes and scripting
  22. 57:17Java 21 security
  23. 58:41Workshops and learning
  24. 59:03Q&A
~/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.