Reducing garbage collector cache misses

被引:0
|
作者
Boehm, Hans-J. [1 ,2 ]
机构
[1] Internet and Mobile Syst. Laboratory, HP Laboratories Palo Alto
[2] Hewlett-Packard Laboratories, MS 1U-17, 1501 Page Mill Rd., Palo Alto, CA 94304-1126
来源
HP Laboratories Technical Report | 2000年 / 99期
关键词
Algorithms - Computer systems - Data storage equipment - Data structures - Hierarchical systems - Refuse disposal;
D O I
暂无
中图分类号
学科分类号
摘要
Cache misses are currently a major factor in the cost of garbage collection, and we expect them to dominate in the future. Traditional garbage collection algorithms exhibit relatively little temporal locality; each live object in the heap is likely to be touched exactly once during each garbage collection. We measure two techniques for dealing with this issue: prefetch-on-grey, and lazy sweeping. The first of these is new in this context. Lazy sweeping has been in common use for a decade. It was introduced as a mechanism for reducing paging and pause times; we argue that it is also crucial for eliminating cache misses during the sweep phase. Our measurements are obtained in the context of a non-moving garbage collector. Fully copying garbage collection inherently requires more traffic through the cache, and thus probably also stands to benefit substantially from something like the prefetch-on-grey technique. Generational garbage collection may reduce the benefit of these techniques for some applications, but experiments with a non-moving generational collector suggest that they remain quite useful.
引用
收藏
相关论文
共 50 条
  • [41] A Verified Generational Garbage Collector for CakeML
    Ericsson, Adam Sandberg
    Myreen, Magnus O.
    Pohjola, Johannes Aman
    JOURNAL OF AUTOMATED REASONING, 2019, 63 (02) : 463 - 488
  • [42] Simple garbage-collector-safety
    Boehm, HJ
    ACM SIGPLAN NOTICES, 1996, 31 (05) : 89 - 98
  • [43] Formal verification of an incremental garbage collector
    Coupet-Grimal, S
    Nouvet, C
    JOURNAL OF LOGIC AND COMPUTATION, 2003, 13 (06) : 815 - 833
  • [44] A novel design of a generational garbage collector
    Zaman, WU
    Ahmad, SA
    Abbas, A
    Qadeer, A
    ISCON 2002: IEEE STUDENTS CONFERENCE ON EMERGING TECHNOLOGIES, PROCEEDINGS, 2002, : 85 - 88
  • [45] A Verified Generational Garbage Collector for CakeML
    Ericsson, Adam Sandberg
    Myreen, Magnus O.
    Pohjola, Johannes Aman
    INTERACTIVE THEOREM PROVING (ITP 2017), 2017, 10499 : 444 - 461
  • [46] A DISTRIBUTED GARBAGE COLLECTOR FOR ACTIVE OBJECTS
    PUAUT, I
    SIGPLAN NOTICES, 1994, 29 (10): : 113 - 128
  • [47] A Verified Generational Garbage Collector for CakeML
    Adam Sandberg Ericsson
    Magnus O. Myreen
    Johannes Åman Pohjola
    Journal of Automated Reasoning, 2019, 63 : 463 - 488
  • [48] Laccases: garbage-collector mushrooms
    Dupin, L
    BIOFUTUR, 2003, (230) : 31 - 34
  • [49] Development of Autonomous Garbage Collector Robot
    Jha, Anukriti
    Singh, Anshuman
    Kerketta, Roshan
    Prasad, Deepak
    Neelam, Kumari
    Nath, Vijay
    PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON MICROELECTRONICS, COMPUTING AND COMMUNICATION SYSTEMS, MCCS 2018, 2019, 556 : 567 - 576
  • [50] Formal Verification of an Incremental Garbage Collector
    Lab. d'Info. Fond. Marseille, CMI, 39 rue Joliot-Curie, F-13453, Marseille, France
    不详
    1600, 815-833 (December 2003):