发明授权
- 专利标题: Garbage collection of an object
- 专利标题(中): 垃圾收集对象
-
申请号: US13568646申请日: 2012-08-07
-
公开(公告)号: US09390006B2公开(公告)日: 2016-07-12
- 发明人: Tamiya Onodera , Kiyokuni Kawachiya
- 申请人: Tamiya Onodera , Kiyokuni Kawachiya
- 申请人地址: US NY Armonk
- 专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人地址: US NY Armonk
- 代理机构: Cantor Colburn LLP
- 代理商 Vazken Alexanian
- 主分类号: G06F12/00
- IPC分类号: G06F12/00 ; G06F17/30 ; G06F12/02 ; G06F9/445 ; G06F9/44
摘要:
One or more embodiments are directed to creating a structure comprising a weak reference to an object, a strong reference to the object, a count of remote references to the object, and an identifier for the object, incrementing the count when a remote reference is created to the object and decrementing the count when a remote reference is removed, setting the strong reference in response to the count being greater than a first threshold in order to avoid a garbage collection of the object, clearing the strong reference in response to the count being less than a second threshold to enable a garbage collection of the object, and removing the structure and related resources based on a recognition of the object's collection through the weak reference.
公开/授权文献
- US20140040327A1 GARBAGE COLLECTION OF AN OBJECT 公开/授权日:2014-02-06
信息查询