~/talk

Sailing Modern Java

Talkat Voxxed Days Zurich 2023 · on Thursday, 2023-03-16· [java]
slides:none on file

Covers Java 19/20 features with runnable demos: shows virtual threads via Executors.newVirtualThreadPerTaskExecutor creating 50,000 threads (and reaching higher until memory limits), warns virtual threads help I/O waits not CPU-bound work, and uses toxic-proxy with Testcontainers to detect pinned threads. Demonstrates StructuredTaskScope.shutdownOnFailure cutting a multi-call wait from ~1s to ~25ms, and exercises the Foreign Function & Memory API by invoking getuid through a downcallhandle in a Docker container (exit code 42). Reminds to use --enable-preview for preview JEPs.

AI-written summary · about

  1. 0:00Introduction
  2. 2:10Release Notes
  3. 3:40Migration to Java 20
  4. 5:05LTS Cadence
  5. 5:25Changes
  6. 6:25Enable Preview
  7. 7:00Reactive
  8. 8:13Project Loom
  9. 9:07Virtual Threads
  10. 11:30Testing Virtual Threads
  11. 12:38Starting Virtual Threads
  12. 13:40Virtual Threads Demo
  13. 17:15Dont go for a year
  14. 17:52Dont reuse virtual threats
  15. 19:50Example
  16. 26:35Structured Concurrency
  17. 31:31Scope
  18. 34:45Record
  19. 35:45Nesting
  20. 36:16Native stuff
  21. 37:02Memory API
  22. 38:01VAR handles
  23. 39:04malloc
  24. 39:45getuid
  25. 43:10random things
  26. 43:29slow startup
  27. 44:50Virtual Threats
  28. 45:33Feedback
  29. 45:57Anonymous Survey
  30. 46:08Thank you
  31. 46:22Slides
~/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.