Post

Mark–Scavenge: Waiting for Trash to Take Itself Out (Talk)

In modern concurrent garbage collectors like ZGC, moving objects safely while the application is running requires significant CPU resources. But what if we could avoid moving objects that are about to die anyway?

At OOPSLA ‘24, I presented Mark-Scavenge, a new approach to concurrent garbage collection. By implementing a “lazy relocation” algorithm, we can wait for trash to take itself out, reducing the copying of dead objects by up to 91%.

Watch it here: https://www.youtube.com/watch?v=zsKX4Jy83Yo

The views expressed in this blog are my own and do not necessarily reflect the views of Oracle.