发明授权
- 专利标题: Write-barrier maintenance in a garbage collector
- 专利标题(中): 垃圾收集器中的写屏障维护
-
申请号: US10339707申请日: 2003-01-09
-
公开(公告)号: US06931423B2公开(公告)日: 2005-08-16
- 发明人: Harlan Sexton , David Unietis , Peter Benson
- 申请人: Harlan Sexton , David Unietis , Peter Benson
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corp.
- 当前专利权人: Oracle International Corp.
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Ditthavong & Carlson, P.C.
- 主分类号: G06F12/02
- IPC分类号: G06F12/02 ; G06F17/00
摘要:
An approach is provided for maintaining a write barrier during an assignment operation between a source object and a target object. A source tag is obtained from a first reference to the source object, and a target tag is obtained from a second reference to the target object. The source tag and the target tag are compared, such that if the source tag is in a predetermined relationship with the target tag, then a data structure (e.g., a remember table or exit table) associated with the write barrier is updated in accordance with the assignment operation. In one embodiment, the routine to update the data structure is dispatched from a function table based on a tag value in a header associated with the source object.
公开/授权文献
- US20030105772A1 Write-barrier maintenance in a garbage collector 公开/授权日:2003-06-05
信息查询