Object placement impacts cache utilisation, which is itself critical for performance.Managed languages o er fewer tools than unmanaged languages in the way of controlling object placement due to the abstract view of memory.On the other hand, managed languages often have garbage collectors (GC) that move objects as part of defragmentation.In the context of OpenJDK, Hot-Cold Objects Segregation GC (HCSGC) added locality improvement on-top of ZGC by piggybacking on its loaded value-barrier based design.In addition to the open problem of tuning HCSGC, we identify a contradiction in two of its design goals and propose LR, that addresses both these problems.We implement LR on-top of ZGC and compare it with GCs in OpenJDK and with the best performing HCSGC con guration using DaCapo, JGraphT and SPECjbb2015.While using less resources, LR outperforms HCSGC in 18 con gurations, matches performance in 17, and regresses in 3. CCS Concepts: •
No takes yet. Share an insight, caveat, or question.
Norlinder et al. (2024) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: