发明授权
US6105040A Method and apparatus for managing stored objects 失效
用于管理存储对象的方法和装置

  • 专利标题: 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
Method and apparatus for managing stored objects
摘要:
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.
公开/授权文献
信息查询
0/0