~/talk

Java *is* Memory Efficient

Talkat JavaOne 2026 · 2026-03-17..03-19· [java]
links:none on file
slides:none on file

Claim: Java intentionally trades extra RAM for fewer CPU cycles by using moving garbage collectors that compact live objects, so doubling heap size roughly halves collection frequency and CPU spent on GC. Shows the knob to prefer more RAM or less CPU, notes ZGC auto-sizing is coming, compares arenas in Zig as an alternative, and warns that microbenchmarks mislead — profile real apps end to end before optimizing.

AI-written summary · about

  1. 0:00Intro
  2. 1:52Moving Garbage Collectors
  3. 8:12RAM vs CPU
  4. 12:39GCs' Fundamental Advantage
  5. 17:32Other Languages
  6. 19:07"Benchmarks lie"
  7. 26:46How to Optimize
  8. 33:46Outro
~/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.