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 条
  • [1] Reducing garbage collector cache misses
    Boehm, HJ
    ACM SIGPLAN NOTICES, 2001, 36 (01) : 59 - 64
  • [2] Reducing cache misses through cache line overlapping
    Koo, S
    Kim, S
    Azougagh, D
    Cho, Y
    Maeng, S
    ELECTRONICS LETTERS, 2006, 42 (10) : 569 - 571
  • [3] Reducing cache misses through programmable decoders
    Zhang, Chuanjun
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2007, 4 (04) : 1 - 31
  • [4] Reducing Migration-induced Cache Misses
    Reza, Sajjid
    Byrd, Gregory T.
    2012 IEEE 26TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS & PHD FORUM (IPDPSW), 2012, : 1732 - 1741
  • [5] GARBAGE COLLECTOR, CACHE BRING SMALLTALK TO IBM PC
    WEISS, R
    ELECTRONIC DESIGN, 1985, 33 (25) : 44 - 44
  • [6] Victim retention for reducing cache misses in tiled chip multiprocessors
    Das, Shirshendu
    Kapoor, Hemangee K.
    MICROPROCESSORS AND MICROSYSTEMS, 2014, 38 (04) : 263 - 275
  • [7] RPC: An approach for reducing compulsory misses in packet processing cache
    Yamaki, Hayato
    Nishi, Hiroaki
    Miwa, Shinobu
    Honda, Hiroki
    IEICE Transactions on Information and Systems, 2020, E103D (12): : 2590 - 2599
  • [8] RPC: An Approach for Reducing Compulsory Misses in Packet Processing Cache
    Yamaki, Hayato
    Nishi, Hiroaki
    Miwa, Shinobu
    Honda, Hiroki
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2020, E103D (12): : 2590 - 2599
  • [9] Speeding up kernel scheduler by reducing cache misses - Effects of cache coloring for a task structure
    Yamamura, S
    Hirai, A
    Sato, M
    Yamamoto, M
    Naruse, A
    Kumon, K
    USENIX ASSOCIATION PROCEEDINGS OF THE FREENIX TRACK, 2002, : 275 - 285
  • [10] Reducing Shared Cache Misses via dynamic Grouping and Scheduling on Multicores
    El Din, Wael Amr Hossam
    ElSayed, Hany Mohamed
    Talkhan, Ihab ElSayed
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2014, 5 (09) : 135 - 144