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 条
  • [21] Balanced cache: Reducing conflict misses of direct-mapped caches through programmable decoders
    Zhang, Chuanjun
    33RD INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHTIECTURE, PROCEEDINGS, 2006, : 155 - 166
  • [22] Hardware identification of cache conflict misses
    Collins, JD
    Tullsen, DM
    32ND ANNUAL INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, (MICRO-32), PROCEEDINGS, 1999, : 126 - 135
  • [23] Modeling Cache Coherence Misses on Multicores
    Pan, Xiaoyue
    Jonsson, Bengt
    2014 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE (ISPASS), 2014, : 96 - 105
  • [24] GENERALIZED COMPACTIFYING GARBAGE COLLECTOR
    WEGBREIT, B
    COMPUTER JOURNAL, 1972, 15 (03): : 204 - &
  • [25] Visualising the train garbage collector
    Printezis, T
    Garthwaite, A
    ACM SIGPLAN NOTICES, 2003, 38 (02) : 157 - 170
  • [26] A GARBAGE COLLECTOR TIDIES ITSELF
    TRACY, EJ
    FORTUNE, 1984, 109 (05) : 60 - 60
  • [27] ANOTHER COMPACTING GARBAGE COLLECTOR
    MORRIS, FL
    INFORMATION PROCESSING LETTERS, 1982, 15 (04) : 139 - 142
  • [28] Visualising the train garbage collector
    Printezis, Tony
    Garthwaite, Alex
    ACM SIGPLAN Notices, 2003, 38 (2 SUPPL.) : 157 - 170
  • [29] DESIGN OF THE OPPORTUNISTIC GARBAGE COLLECTOR
    WILSON, PR
    MOHER, TG
    SIGPLAN NOTICES, 1989, 24 (10): : 23 - 35
  • [30] Reducing the performance impact of instruction cache misses by writing instructions into the reservation stations out-of-order
    Stark, J
    Racunas, P
    Patt, YN
    THIRTIETH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, PROCEEDINGS, 1997, : 34 - 43