~/talk

Java™ 19 & 20. What's new and noteworthy?

Talkat Voxxed Days Luxembourg 2023 · 2023-06-21..06-22· [java]
slides:none on file

Demos show concrete outcomes: platform threads hit OOM around ~32,000 while virtual threads scale to millions (40k and a million tested), but code must recompile to use them and blocking inside synchronized methods pins carrier threads causing slowdowns. A Testcontainers + toxic‑proxy lab reproduces pinning, structured concurrency gives automatic cancellation across forks, pattern‑matching + record patterns shorten data handling, and the foreign memory API lets Java call libc getuid (down/up calls) and manage native memory segments/arenas. Java 19/20 features are shown with runnable examples.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Java 19 and 20 overview
  3. 7:03Why use latest Java
  4. 12:23Virtual threads introduction
  5. 27:54Virtual threads demo
  6. 33:32Virtual threads limitations
  7. 44:25Structured concurrency
  8. 53:26Scope values
  9. 1:02:00Pattern matching for switch
  10. 1:16:33Record patterns
  11. 1:29:16Foreign memory API
  12. 1:41:01Java 20 features summary
  13. 1:48:44Q&A and conclusion
~/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.