Get the latest tech news
Mark–Scavenge: Waiting for Trash to Take Itself Out
This blog post summarises a new garbage collection algorithm called Mark-Scavenge, which highlights how using reachability as a proxy for liveness in moving GCs leads to unnecessary data movement and how we can address this. This work is from the la…
This blog post summarises a new garbage collection algorithm called Mark-Scavenge, which highlights how using reachability as a proxy for liveness in moving GCs leads to unnecessary data movement and how we can address this. Each bar in the 4th group – ZGC (barrier) – in the plot below represents a particular benchmark and measures the percentage of unnecessary objects evacuated because they were never again touched and became unreachable by the next GC. Figure 3: Benchmarks with Our Modified ZGC We repeated the G1 and Serial GC experiments with a less precise measurement due to the absence of a load barrier in these GCs.
Or read this on Hacker News