Invention Grant
US07676511B2 Method and apparatus for reducing object pre-tenuring overhead in a generational garbage collector
有权
在一代垃圾收集器中减少对象预系统开销的方法和装置
- Patent Title: Method and apparatus for reducing object pre-tenuring overhead in a generational garbage collector
- Patent Title (中): 在一代垃圾收集器中减少对象预系统开销的方法和装置
-
Application No.: US11340940Application Date: 2006-01-27
-
Publication No.: US07676511B2Publication Date: 2010-03-09
- Inventor: Antonios Printezis , David L. Detlefs , Fabio Rojas
- Applicant: Antonios Printezis , David L. Detlefs , Fabio Rojas
- Applicant Address: US CA Santa Clara
- Assignee: Sun Microsystems, Inc.
- Current Assignee: Sun Microsystems, Inc.
- Current Assignee Address: US CA Santa Clara
- Agency: Osha • Liang LLP
- Main IPC: G06F17/30
- IPC: G06F17/30

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.
Public/Granted literature
- US20070180002A1 Method and apparatus for reducing object pre-tenuring overhead in a generational garbage collector Public/Granted day:2007-08-02
Information query