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 条
  • [31] Automatic analytical modeling for the estimation of cache misses
    Fraguela, Basilio B.
    Doallo, Ramon
    Zapata, Emilio L.
    Parallel Architectures and Compilation Techniques - Conference Proceedings, PACT, 1999, : 221 - 231
  • [32] Runahead Cache Misses Using Bloom Filter
    Tao, Xi
    Zeng, Qi
    Peir, Jih-Kwon
    Lu, Shih-Lien
    2016 17TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED COMPUTING, APPLICATIONS AND TECHNOLOGIES (PDCAT), 2016, : 1 - 6
  • [33] The combinatorics of cache misses during matrix multiplication
    Hanlon, PJ
    Chung, D
    Chatterjee, S
    Genius, D
    Lebeck, AR
    Parker, E
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2001, 63 (01) : 80 - 126
  • [34] "Stubborn" Strategy to Mitigate Remaining Cache Misses
    Nomura, Hayato
    Katchi, Hiroyuki
    Irie, Hidetsugu
    Sakai, Shuichi
    PROCEEDINGS OF THE 34TH IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2016, : 388 - 391
  • [35] Cache performance of Chronological Garbage Collection
    Ding, YP
    Li, XN
    UNIVERSITY AND INDUSTRY - PARTNERS IN SUCCESS, CONFERENCE PROCEEDINGS VOLS 1-2, 1998, : 1 - 4
  • [36] Balanced instruction cache: Reducing conflict misses of direct-mapped caches through balanced subarray accesses
    Department of Electrical and Computer Engineering, San Diego State University
    IEEE Comput. Archit. Lett., 2006, 1 (2-5):
  • [37] Data Structure Aware Garbage Collector
    Cohen, Nachshon
    Petrank, Erez
    ACM SIGPLAN NOTICES, 2015, 50 (11) : 28 - 40
  • [38] LEARNING FROM A VISUALIZED GARBAGE COLLECTOR
    WEISER, M
    HAYES, B
    MACKINLAY, J
    FIFTH COMPUTER GRAPHICS WORKSHOP, 1989, : 93 - 98
  • [39] EFFICIENT, INCREMENTAL, AUTOMATIC GARBAGE COLLECTOR
    DEUTSCH, LP
    BOBROW, DG
    COMMUNICATIONS OF THE ACM, 1976, 19 (09) : 522 - 526
  • [40] A study on a garbage collector for embedded applications
    Krapf, RC
    de Mattos, JCB
    Spellmeier, G
    Carro, L
    15TH SYMPOSIUM ON INTEGRATED CIRCUITS AND SYSTEMS DESIGN, PROCEEDINGS, 2002, : 127 - 132