REAL-TIME GARBAGE COLLECTION ON GENERAL-PURPOSE MACHINES

被引:97
作者
YUASA, T [1 ]
机构
[1] KYOTO UNIV,MATH SCI RES INST,KYOTO 606,JAPAN
关键词
D O I
10.1016/0164-1212(90)90084-Y
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
An algorithm for real-time garbage collection is presented, proved correct, and evaluated. This algorithm is intended for list-processing systems on general-purpose machines, i.e., Von Neumann style serial computers with a single processor. On these machines, real-time garbage collection inevitably causes some overhead on the overall execution of the list-processing system, because some of the primitive list-processing operations must check the status of garbage collection. By removing such overhead from frequently used primitives such as pointer references (e.g., Lisp car and cdr) and stack manipulations, the presented algorithm reduces the execution overhead to a great extent. Although the algorithm does not support compaction of the whole data space, it efficiently supports partial compaction such as array relocation. © 1990.
引用
收藏
页码:181 / 198
页数:18
相关论文
共 18 条
[1]   LIST PROCESSING IN REAL-TIME ON A SERIAL COMPUTER [J].
BAKER, HG .
COMMUNICATIONS OF THE ACM, 1978, 21 (04) :280-294
[2]   ALGORITHMS FOR ON-THE-FLY GARBAGE COLLECTION [J].
BENARI, M .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1984, 6 (03) :333-344
[3]  
Brooks Rodney A., 1984, P ACM C LISP FUNCT P, P256
[4]   NONRECURSIVE LIST COMPACTING ALGORITHM [J].
CHENEY, CJ .
COMMUNICATIONS OF THE ACM, 1970, 13 (11) :677-&
[5]  
DEUTSCH PL, 1976, COMMUN ACM, V19, P522
[6]   ON-FLY GARBAGE COLLECTION - EXERCISE IN COOPERATION [J].
DIJKSTRA, EW ;
LAMPORT, L ;
MARTIN, AJ ;
SCHOLTEN, CS ;
STEFFENS, EFM .
COMMUNICATIONS OF THE ACM, 1978, 21 (11) :966-975
[7]   A LISP GARBAGE-COLLECTOR FOR VIRTUAL-MEMORY COMPUTER SYSTEMS [J].
FENICHEL, RR ;
YOCHELSON, JC .
COMMUNICATIONS OF THE ACM, 1969, 12 (11) :611-+
[8]  
Kernighan B. W., 1978, C PROGRAMMING LANGUA, V1st
[9]  
Kung H. T., 1977, 18th Annual Symposium on Foundations of Computer Science, P120, DOI 10.1109/SFCS.1977.5
[10]  
LIEBERMAN H, 1980, MIT AI569 MEM