Improving program locality in the GC using hotness
Albert Mingkun Yang, Erik Österlund, Tobias Wrigstad
Abstract
The hierarchical memory system with increasingly small and increasingly fast memory closer to the CPU has for long been at the heart of hiding, or mitigating the performance gap between memories and processors. To utilise this hardware, programs must be written to exhibit good object locality. In languages like C/C++, programmers can carefully plan how objects should be laid out (albeit time consuming and error-prone); for managed languages, especially ones with moving garbage collectors, a manually created optimal layout may be destroyed in the process of object relocation. For managed languages that present an abstract view of memory, the solution lies in making the garbage collector aware of object locality, and strive to achieve and maintain good locality, even in the face of multi-phased programs that exhibit different behaviour across different phases.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 10dd579b-b509-416f-8581-cae08d1af746Cited by top-tier papers4
- More Apps, Faster Hot-Launch on Mobile Devices via Fore/Background-aware GC-Swap Co-designJiacheng Huang, Yunmo Zhang, Junqiao Qiu, Yu Liang et al.ASPLOS 2024 · 12 citations
- OJXPERF: Featherlight Object Replica Detection for Java ProgramsBolun Li, Hao Xu, Qidong Zhao, Pengfei Su et al.ICSE 2022 · 11 citations
- Mark-Scavenge: Waiting for Trash to Take Itself OutJonas Norlinder, Erik Österlund, David Black-Schaffer, Tobias WrigstadOOPSLA 2024
- LifeLine: An Object-Page Lifetime Alignment GC Enabling Minimal Memory Copying for Mobile DevicesJiacheng Huang, Yunmo Zhang, Qingan Li, Junqiao Qiu et al.OSDI 2026
Related papers
- täk¯: a polymorphic cache hierarchy for general-purpose optimization of data movementBrian C. Schwedock, Piratach Yoovidhya, Jennifer Seibert, Nathan BeckmannISCA 2022 · 16 citations
- Getting a Handle on Unmanaged MemoryNick Wanninger, Tommy McMichen, Simone Campanoni, Peter A. DindaASPLOS 2024 · 3 citations
- DroidPerf: Profiling Memory Objects on Android DevicesBolun Li, Qidong Zhao, Shuyin Jiao, Xu LiuMobiCom 2023 · 18 citations
- PET: Proactive Demotion for Efficient Tiered Memory ManagementWanju Doh, Yaebin Moon, Seoyoung Ko, Seunghwan Chung et al.EuroSys 2025 · 8 citations
- Uncovering Hidden Memory Costs for Garbage CollectionSudhanshu Agarwal, Saugata GhoseOOPSLA 2026
