Compacting garbage collection can be fast and simple

被引:0
作者
Clarke, CLA
Mason, DV
机构
[1] Department of Computer Science, University of Waterloo, Waterloo
关键词
storage management; garbage collection; virtual memory; compaction;
D O I
10.1002/(SICI)1097-024X(199602)26:2<177::AID-SPE7>3.0.CO;2-7
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Copying garbage collectors are now standard for the memory-management subsystems of functional and object-oriented programming languages, Compacting garbage collection has correspondingly fallen out of favor. We revitalize the case for compaction by demonstrating that a simple compacting collector, extended with the generational garbage collection heuristic, exhibits performance as effectively as or better than a well-designed generational copying collector on real programs running in real environments, The observation that compaction preserves allocation order across collections leads to a new generalization of the generational heuristic that reduces the movement of long-lived objects, We measure the effect of substituting our compacting generational collector for a copying collector in Standard ML of New Jersey.
引用
收藏
页码:177 / 194
页数:18
相关论文
共 53 条
[1]  
ANDRE DL, 1986, THESIS U MARYLAND
[2]  
Appel Andrew W., 1992, Compiling with Continuations
[3]   SIMPLE GENERATIONAL GARBAGE COLLECTION AND FAST ALLOCATION [J].
APPEL, AW .
SOFTWARE-PRACTICE & EXPERIENCE, 1989, 19 (02) :171-183
[4]  
APPEL AW, 1990, LISP SYMBOLIC COMPUT, V3
[5]  
APPEL AW, 1988, JUN P SIGPLAN 88 C P, P11
[6]  
APPEL AW, 1991, ADV LANGUAGE IMPLEME, P89
[7]  
APPEL AW, 1990, STANDARD ML REFERENC
[8]  
APPEL AW, 1987, INFORMATION PROCESSI, V24
[9]   LIST PROCESSING IN REAL-TIME ON A SERIAL COMPUTER [J].
BAKER, HG .
COMMUNICATIONS OF THE ACM, 1978, 21 (04) :280-294
[10]  
Boehm Hans-Juergen, 1991, P ACM SIGPLAN 1991 C, P157