GENERATIONAL GARBAGE COLLECTION FOR LAZY GRAPH REDUCTION

被引:0
|
作者
SEWARD, J
机构
关键词
GARBAGE COLLECTION; GENERATIONAL; GRAPH REDUCTION; LAZY; FUNCTIONAL; UPDATING;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Although the LISP community have been exploiting the fruits of generational garbage collection for some time, little attempt has been made to apply these ideas in lazy functional language implementations. This paper attempts to plug that gap. The action of overwriting an unevaluated thunk with its final value, known as updating, is central to lazy reduction systems. Unfortunately, updating creates pointers from older to younger generations. A simple two-generation scheme which allows heap occupancy to approach 100% is presented. This collector is a hybrid semispace and mark-scan collector. We show that keeping track of old-to-new pointers imposes virtually zero time and space overhead on the mutator. Consequently a net performance gain can be had by using generational collection. This paper describes how a generational collector was incorporated into a standard G-machine interpreter. Detailed performance measurements presented indicate that a significant improvement in overall performance is achieved, compared to both semispace and compacting mark-scan collectors. Some interesting variants of the basic scheme are discussed. Finally, a possible compiled-code implementation is presented.
引用
收藏
页码:200 / 217
页数:18
相关论文
共 50 条
  • [1] LAZY GARBAGE COLLECTION
    GLASER, HW
    THOMPSON, P
    SOFTWARE-PRACTICE & EXPERIENCE, 1987, 17 (01): : 1 - 4
  • [2] Generational garbage collection without temporary space leaks for lazy functional languages
    Rojemo, N
    MEMORY MANAGEMENT, 1995, 986 : 145 - 162
  • [3] PARALLEL GENERATIONAL GARBAGE COLLECTION
    SHARMA, R
    SOFFA, ML
    SIGPLAN NOTICES, 1991, 26 (11): : 16 - 32
  • [4] A generational parallel garbage collection for CMP
    Yang, Bin
    ICIC Express Letters, 2011, 5 (11): : 4203 - 4208
  • [5] Dynamic pretenuring schemes for generational garbage collection
    Huang, W
    Srisa-an, W
    Chang, JM
    ISPASS: 2004 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE, 2004, : 133 - 140
  • [6] INFANT-MORTALITY AND GENERATIONAL GARBAGE COLLECTION
    BAKER, HG
    SIGPLAN NOTICES, 1993, 28 (04): : 55 - 57
  • [7] Generational garbage collection and the radioactive decay model
    Clinger, WD
    Hansen, LT
    ACM SIGPLAN NOTICES, 1997, 32 (05) : 97 - 108
  • [8] SIMPLE GENERATIONAL GARBAGE COLLECTION AND FAST ALLOCATION
    APPEL, AW
    SOFTWARE-PRACTICE & EXPERIENCE, 1989, 19 (02): : 171 - 183
  • [9] Two Generational Garbage Collection Models with Major Collection Time
    Zhao, Xufeng
    Nakamura, Syouji
    Nakagawa, Toshio
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2011, E94A (07) : 1558 - 1566
  • [10] Liveness-Based Garbage Collection for Lazy Languages
    Kumar, Prasanna K.
    Sanyal, Amitabha
    Karkare, Amey
    ACM SIGPLAN NOTICES, 2016, 51 (11) : 122 - 133