~/talk

Java Garbage Collection - The Basics

Talkat Developer Summit 2020 · 2020-11-21..11-22· [java]
slides:none on file

Overview of JVM GC basics with concrete mechanics: heap divides into regions (region size ≈ heap/2048 rounded to power of two, e.g. 4MB), young generation uses Eden+two survivor spaces with default tenuring age 15, copying moves live objects between survivor spaces, mark-sweep(-compact) handles long-lived objects. G1GC targets pause-time goals by concurrent marking with SATB snapshot and by cleaning hottest regions first. New collectors: ZGC trades ≤15% throughput for very low pauses, Shenandoah does concurrent compaction, Epsilon is a no-op allocator.

AI-written summary · about

  1. 0:00Introduction
  2. 1:01Garbage collection overview
  3. 2:27Collection types explained
  4. 9:05Object marking patterns
  5. 13:17Generational GC basics
  6. 20:57Generational hypothesis
  7. 27:57G1 GC introduction
  8. 36:51G1 GC cycle
  9. 46:50New garbage collectors
  10. 49:39Q&A and summary
~/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.