What’s the Mark-Compact algorithm used by HotSpot?
Big disclaimer: I am not a GC expert/writer; all the things that are written bellow are subject to changes and some of them might be way too simplistic. Please take this with a grain of salt. I will only speak about Shenandoah, as I think I understand it; which is not a generational GC. There … Read more