- 专利标题: Method, program, and system for reducing the cost of stack scanning
-
申请号: US14567526申请日: 2014-12-11
-
公开(公告)号: US11314640B2公开(公告)日: 2022-04-26
- 发明人: Kiyokuni Kawachiya , Tamiya Onodera
- 申请人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 申请人地址: US NY Armonk
- 专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人地址: US NY Armonk
- 代理机构: Tutunjian & Bitetto, PC
- 代理商 Joseph Petrokaitis
- 优先权: JPJP2013-257970 20131213
- 主分类号: G06F16/00
- IPC分类号: G06F16/00 ; G06F12/02
摘要:
A method for reducing the cost of stack scanning in garbage collection (GC) includes, in the GC of the first-generation heap area, registering, in a nursery object reference list prepared for each thread, one or more addresses, within each stack, which each refer to a nursery object, and updating a scanning unnecessary area starting pointer such that the addresses listed in the nursery object reference list are included in the area from the bottom of the stack to the address pointed to by the scanning unnecessary area starting pointer. The method further includes, in the next GC of the first-generation heap area, for the area from the bottom of the stack to the address pointed to by the scanning unnecessary area starting pointer, performing the GC processing on the addresses included in the nursery object reference list.
公开/授权文献
信息查询