Opportunistic garbage collection

被引:0
|
作者
Wilson, Paul R. [1 ]
机构
[1] Univ of Illinois at Chicago, United States
来源
SIGPLAN Notices (ACM Special Interest Group on Programming Languages) | 1988年 / 23卷 / 12期
关键词
Computer Operating Systems--Storage Allocation - Systems Science and Cybernetics--Heuristic Programming;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Opportunistic garbage collection is a non-incremental generation-based garbage collection system. It attempts to minimize the probability of disruptive pauses by careful scheduling of scavenges. Scavenge pauses are hidden in pauses created by the running program or by the user; they are also shortened by scheduling them at low points in the stack height, where live data tend to be at a minimum. These heuristics can be surprisingly simple and cheap to implement - user input primitives provide an effective hook from which to invoke the scheduling routine, since they tend to correspond both to local stack minima and to computational pause boundaries. An additional mechanism is proposed to detect times when it is safe to scavenge an intermediate generation, based on the amount of data surviving from a new-generation scavenge. This mechanism can be used reliably in certain cases, or heuristically in a larger class of cases.
引用
收藏
页码:98 / 102
相关论文
empty
未找到相关数据