~/talk

Java: Java 12, 13 & 14. What's new and noteworthy?

Talkat 4Developers 2020 · 2020-09-14..09-18· [java]
slides:none on file

Covers concrete changes from Java 12–15 and whether to try them now: Shenandoah and ZGC target short stop-the-world pauses (demo shows G1 ~140 ms vs ZGC ~1 ms and Shenandoah ~700 µs in a simple run), G1 gains uncommit memory and abortable collections, switch expressions and pattern-matching for instanceof reduce casts, records reduce boilerplate by auto-generating final fields, constructors and equals/hashCode, text blocks simplify embedded JSON, JFR adds near‑real‑time event streaming and AppCDS generation gets much easier, plus helpful NPE messages enabled by default in 15.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 3:49Garbage collectors Shenandoah and ZGC
  3. 10:52Switch expressions in Java
  4. 16:08Text blocks for cleaner strings
  5. 18:36Helpful NullPointerExceptions
  6. 21:01Instance of pattern matching
  7. 23:29Records as data carriers
  8. 27:24Sealed classes explained
  9. 32:20JFR event streaming
  10. 33:45CDS archives improvements
  11. 35:33Closing and Q&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.