Garbage Collection for Mostly Serialized Heaps

被引:0
作者
Koparkar, Chaitanya S. [1 ]
Singhal, Vidush [2 ]
Gupta, Aditya [2 ]
Rainey, Mike [3 ]
Vollmer, Michael [4 ]
Pelenitsyn, Artem [2 ]
Tobin-Hochstadt, Sam [1 ]
Kulkarni, Milind [2 ]
Newton, Ryan R. [2 ]
机构
[1] Indiana Univ, Bloomington, IN 47405 USA
[2] Purdue Univ, W Lafayette, IN 47907 USA
[3] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
[4] Univ Kent, Canterbury, Kent, England
来源
PROCEEDINGS OF THE 2024 ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT, ISMM 2024 | 2024年
基金
美国国家科学基金会; 英国工程与自然科学研究理事会;
关键词
Compilers; Garbage Collection; Data Representation;
D O I
10.1145/3652024.3665512
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Over the years, traditional tracing garbage collectors have accumulated assumptions that may not hold in new language designs. For instance, we usually assume that run-time objects do not hold addressable sub-parts and have a size of at least one pointer. These fail in systems striving to eliminate pointers and represent data in a dense, serialized form, such as the Gibbon compiler. We propose a new memory management strategy for language runtimes with mostly serialized heaps. It uses a hybrid, generational collector, where regions are bump-allocated into the young generation and objects are bump-allocated within those regions. Minor collections copy data into larger regions in the old generation, compacting it further. The old generation uses region-level reference counting. The resulting system maintains high performance for data traversal programs, while signi.cantly improving performance on other kinds of allocation patterns.
引用
收藏
页码:1 / 14
页数:14
相关论文
共 31 条
  • [1] An efficient parallel heap compaction algorithm
    Abuaiadh, D
    Ossia, Y
    Petrank, E
    Silbershtein, U
    [J]. ACM SIGPLAN NOTICES, 2004, 39 (10) : 224 - 236
  • [2] Birkedal L., 1996, Conference Record of POPL '96: The 23rd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, P171, DOI 10.1145/237721.237771
  • [3] Ulterior reference counting: Fast garbage collection without a long wait
    Blackburn, SM
    McKinley, KS
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (11) : 344 - 358
  • [4] Pretenuring for Java']Java
    Blackburn, SM
    Singhai, S
    Hertz, M
    McKinley, KS
    Moss, JEB
    [J]. ACM SIGPLAN NOTICES, 2001, 36 (11) : 342 - 352
  • [5] Immix: A Mark-Region Garbage Collector with Space Efficiency, Fast Collection, and Mutator Performance
    Blackburn, Stephen M.
    McKinley, Kathryn S.
    [J]. PLDI'08: PROCEEDINGS OF THE 2008 SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN & IMPLEMENTATION, 2008, : 22 - +
  • [6] Heap compression for memory-constrained Java']Java environments
    Chen, G
    Kandemir, M
    Vijaykrishnan, N
    Irwin, MJ
    Mathiske, B
    Wolczko, M
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (11) : 282 - 301
  • [7] Dargent: A Silver Bullet for Verified Data Layout Refinement
    Chen, Zilin
    Lafont, Ambroise
    O'Connor, Liam
    Keller, Gabriele
    McLaughlin, Craig
    Jackson, Vincent
    Rizkallah, Christine
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (POPL):
  • [8] NONRECURSIVE LIST COMPACTING ALGORITHM
    CHENEY, CJ
    [J]. COMMUNICATIONS OF THE ACM, 1970, 13 (11) : 677 - &
  • [9] Chlipala A, 2015, ACM SIGPLAN NOTICES, V50, P153, DOI [10.1145/2676726.2677004, 10.1145/2775051.2677004]
  • [10] On the Effects of Integrating Region-Based Memory Management and Generational Garbage Collection in ML
    Elsman, Martin
    Hallenberg, Niels
    [J]. PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES (PADL 2020), 2020, 12007 : 95 - 112