发明名称 Method and apparatus for increasing scavenging garbage collection effectiveness
摘要 Methods and apparatus for enabling an efficient generational scavenging garbage collection to be performed on a managed memory area are disclosed. According to one aspect of the present invention, a method for reclaiming memory space uses a managed memory area that includes a first area and a second area. The first area is arranged to store recently allocated objects, while the second area being arranged to store older objects. The method includes determining when a first section of the first area in which new objects are to be allocated is substantially filled. When it is determined that the first section is substantially filled, a garbage collection is performed on a second section of the first. After the garbage collection, the second section is set to support new object allocation such that new objects are allocated in the second section, while the first section is reset such that it is no longer arranged to support new object allocation. In one embodiment, performing the garbage collection on the second section includes copying a live object from the second section into the second area.
申请公布号 AU4138101(A) 申请公布日期 2001.06.04
申请号 AU20010041381 申请日期 2000.11.28
申请人 SUN MICROSYSTEMS, INC. 发明人 PETER B. KESSLER;STEFFEN GRARUP;DAVID M. UNGAR
分类号 G06F12/00;G06F12/02 主分类号 G06F12/00
代理机构 代理人
主权项
地址