- 专利标题: Facilitating efficient garbage collection by dynamically coarsening an append-only lock-free trie
-
申请号: US14954358申请日: 2015-11-30
-
公开(公告)号: US10318585B2公开(公告)日: 2019-06-11
- 发明人: Thomas Schatzl , Nils Mikael Gerdin , Erik Gustav Helin
- 申请人: Oracle International Corporation
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Invoke
- 主分类号: G06F12/02
- IPC分类号: G06F12/02 ; G06F16/901 ; G06F16/17
摘要:
The disclosed embodiments provide a remembered set implementation for use during an incremental garbage collection, wherein the implementation includes a trie that can be dynamically coarsened to conserve memory. During operation, responsive to storing a reference into a location in a referenced memory area during the execution of a software program, the system finds, within a trie that serves as a remembered set for the referenced memory area, a particular entry that corresponds to a particular address range that covers the location. The system then marks the particular entry to indicate that the particular address range should be processed during a garbage collection. Based on a policy, the system then coarsens a particular subtree of the trie in which the particular entry is stored. Next, during the garbage collection, the system processes a particular larger address range when a root entry of the particular subtree is visited.
公开/授权文献
信息查询