Invention Grant
US07676511B2 Method and apparatus for reducing object pre-tenuring overhead in a generational garbage collector 有权
在一代垃圾收集器中减少对象预系统开销的方法和装置

Method and apparatus for reducing object pre-tenuring overhead in a generational garbage collector
Abstract:
In some circumstances a generational garbage collector may be made more efficient by “pre-tenuring” objects or directly allocating new objects in an old generation instead of allocating them in the normal fashion in a young generation. A pre-tenuring decision is made by a two step process. In the first step, during a young-generation collection, an execution frequency is determined for each allocation site and sites with the highest execution frequency are selected as candidate sites. In the second step, during a subsequent young-generation collection, the survival rates are determined for the candidate sites. After this, objects allocated from sites with sufficiently high survival rates are allocated directly in the old generation.
Information query
Patent Agency Ranking
0/0