检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机学报》1999年第11期1228-1232,共5页Chinese Journal of Computers
摘 要:保守无用单元回收算法由于没有考虑内存单元的类型信息而导致大量的无用单元无法回收,该文结合Java 虚拟机的特点提出了对象空间的优化存储结构、内存单元数据类型的标记算法.优化存储结构将对象引用域与基本域分开存放,加快了垃圾回收程序扫描对象空间的速率.内存单元数据类型的标记算法采用静态变量标记与动态变量跟踪的方法,较好地解决了变量数据类型的控制点依赖与控制路径依赖,为无用单元的精确回收奠定了基础,该文并就增量回收算法的设计进行了简单的讨论. 最后作者用实验验证了该方法的可行性,实验表明动态内存标记并没有引入过多的时间耗费且回收空间显著增加.Ambiguous roots garbage collectors (commonly called “conservative”) can be overly conservative because they overestimate the root set and thereby retain unexpectedly large amounts of garbage. In this paper considering the properties of Java virtual machine, a new memory structure for objects and a new algorithm to tag the variables' types are presented. In each object space the object reference fields and the primitive fields are stored separately, this structure can speed garbage collector to scan the objects' space to find non usable objects. The new algorithm is used to tag the variables' types in the running time to obtain a type precise root set for garbage collector. In it statically marking and dynamically tracing variables are used to decide the variables' data type. This algorithm is simple and practical, it solves the problem of control path dependency and control point dependency of variables' data type. Based on it a precise incremental garbage collection algorithm is implemented. The experimental results prove that the time cost of the type analyses is acceptable and the reclaimed space increased prominently compared with traditional conservative garbage collection algorithm.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15