~/talk

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

Talkat Devoxx France 2023 · 2023-04-12..04-14· [java]
links:none on file
slides:none on file

Covers concrete changes in Java 19–20 with demos: virtual threads (Project Loom) start in milliseconds and reduce memory—regular threads fail around 50,000 while virtual threads handle hundreds of thousands (demo hits ~800k before stopping); structured concurrency gives instant cancellation instead of waiting for other tasks; scope values replace many ThreadLocal uses; native work uses the foreign linker API and memory arenas with thread confinement; network latency is simulated with toxic-proxy and pinning is detected via Java Flight Recorder; tests and containers run on Testcontainers Cloud and the demos succeed.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 5:41Java 19 and 20 release cycle
  3. 8:10Should you upgrade to Java 20?
  4. 15:54Virtual threads and Project Loom
  5. 32:44Virtual threads demo
  6. 53:36Structured concurrency
  7. 1:08:14Structured concurrency demo
  8. 1:11:48Scoped values
  9. 1:27:34Pattern matching for switch
  10. 1:45:35Record patterns
  11. 1:57:22Foreign Function & Memory API
  12. 2:03:38Foreign Memory Access API demo
  13. 2:18:40Foreign Linker API demo
  14. 2:24:21Java 20 features summary
  15. 2:30:09Java 21 preview features
  16. 2:33:20Closing and resources
~/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.