Su San Talks Tech
Apr 22, 2024 · Fundamentals
Why Java’s Object Graph Traversal Pauses: Tri‑Color Marking & STW Solutions
This article explains the two‑phase reachability analysis in Java garbage collection, detailing why the object‑graph traversal stage incurs stop‑the‑world pauses, how the tri‑color marking model reveals issues like floating garbage and object disappearance, and describes incremental update and snapshot‑at‑the‑beginning techniques that avoid STW.
Garbage CollectionJavaSATB
0 likes · 14 min read
