~/talk

Java 25 in Production: Memory Dieting to Tame Latency and Garbage Collection

Talkat Voxxed Days Amsterdam 2026 · 2026-04-01..04-02· [java]
links:none on file
slides:none on file

Production stack upgrades to Java 25 plus re-enabling Compressed OOPs and turning on Compact Object Headers shrinks object headers and lets the heap be reduced from ~28 GB to ~18–24 GB (≈36% reduction), cutting minor-GC time to ~1% and P95 latency by about 60% toward an 800 ms SLO. Observability uses Datadog, deployments run on Kubernetes (carpenter/castai), and adding a JVM warm‑up synthetic load (20s pre-ready delay) removes 5s cold-start spikes, dropping deploy-time P95 to <2s.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:05What is memory dieting
  3. 3:35Picnic’s operational excellence
  4. 5:23Homepage latency issues
  5. 7:49Minor GC spikes investigation
  6. 11:19The Avengers analogy
  7. 12:01Infra changes and compressed Oops
  8. 13:29Understanding compressed Oops
  9. 19:33Upgrading to Java 25
  10. 20:34G1GC improvements in Java 25
  11. 21:17Java object headers explained
  12. 24:30Compact object headers
  13. 26:17Live demo of object size reduction
  14. 33:08Production impact of optimizations
  15. 36:00Deployment latency spikes
  16. 37:02JVM warm-up for cold starts
  17. 40:56Key takeaways and summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.