发明授权
- 专利标题: Method and apparatus for managing stored objects
- 专利标题(中): 用于管理存储对象的方法和装置
-
申请号: US885561申请日: 1997-06-30
-
公开(公告)号: US6105040A公开(公告)日: 2000-08-15
- 发明人: Ole Agesen
- 申请人: Ole Agesen
- 申请人地址: CA Palo Alto
- 专利权人: Sun Microsystems, Inc.
- 当前专利权人: Sun Microsystems, Inc.
- 当前专利权人地址: CA Palo Alto
- 主分类号: G06F12/02
- IPC分类号: G06F12/02 ; G06F17/30
摘要:
In accordance with the present invention a method is provided for managing objects during a garbage collection operation. The process comprises the steps of compacting objects in a memory, allocating an available memory location for a surviving object and a corresponding hash field, storing the surviving object in the available memory location by copying the surviving object from a previous memory location to the available memory location, and storing a hash value for the surviving object in the hash field. The hash value includes a memory address for the previous memory location. In accordance with another aspect of the present invention, a method is provided for managing objects stored in memory. The method comprises the steps of receiving an instruction to allocate an object, locating space in a memory for the object, storing the object at the located space, and including in the stored object a header portion reflecting a hash status. The hash status is used to indicate (i) whether the object has been hashed and (ii) whether the object has a hash field.
公开/授权文献
- USD344335S Tongue depressor 公开/授权日:1994-02-15
信息查询