~/talk

Should I Upgrade My Java

Talkat Devnexus 2023 · 2023-04-04..04-06· [java]
slides:none on file

JMH microbenchmarks run on a 4‑core i5 with 3 forks, 5 warm, 5 measurement show JDK 17 consistently delivers higher throughput than 8 and slightly beats 11 overall, with small hysteresis where 11 briefly outperforms 17 on short String workloads; numbers are in operations/sec and code sits on GitHub. Memory tests (Runtime total−free) show JDK 17 uses slightly less memory—about ~70KB at 1M entries—and practical features (records, pattern matching, sealed classes, helpful NPEs) reduce boilerplate and runtime debugging.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Performance benchmarks setup
  3. 5:00Map operations performance data
  4. 7:29Memory usage comparison
  5. 12:31Key Java features overview
  6. 13:36Local variable type inference
  7. 15:23Enhanced switch statements
  8. 20:00Text blocks for strings
  9. 22:25Helpful null pointer exceptions
  10. 25:58Pattern matching introduction
  11. 28:07Records for data modeling
  12. 31:39Sealed classes explained
  13. 37:00Removed and deprecated features
  14. 38:28Upgrade recommendations
~/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.