Conservative garbage collecting and tagged integers for memory management
Abstract
Aspects for conservative garbage collecting are disclosed. In one aspect, root objects included in a call stack are identified, which comprise integers and pointers. Integer representations are tagged and distinguishable from untagged pointer representations. Root objects are traced to corresponding memory locations such that a subsequent tracing is performed on the pointer representations and skipped on the integer representations. Memory allocated to objects unreachable by the call stack is then freed. In another aspect, an object graph associated with a call stack is tagged, and a heap is generated comprising objects included in an executed portion of the call stack. Objects included in an unexecuted portion of the call stack are traced to corresponding memory locations on the heap such that a subsequent tracing is only performed on the untagged pointer representations. Memory locations corresponding to heap objects unreachable by the unexecuted portion of the call stack are then cleared.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: tagging integer representations in an object graph associated with a call stack, the object graph including at least one object associated with a tagged integer representation and at least one object associated with an untagged pointer representation; generating a heap of objects during an execution of the call stack, the heap of objects including one or more objects associated with the call stack; determining whether a monitored size of the heap exceeds a threshold; based on the determination, performing a first trace on objects reachable by an unexecuted portion of the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (5)
- "Final Office Action Issued in U.S. Appl. No. 13/093,724", Mailed Date May 30, 2013, 18 Pages.
- "First Office Action and Search Report Issued in Chinese Patent Application No. 201280020077.4", Mailed Date: Jun. 30, 2015, 20 Pages.
- "International Search Report and Written Opinion Issued in PCT Application No. PCT/US2012/32639", Mailed Date : Dec. 26, 2012, 8 Pages.
- "Non Final Office Action Issued in U.S. Appl. No. 13/093,724", Mailed Date : Feb. 12, 2013, 17 Pages.
- "Non Final Office Action Issued in U.S. Appl. No. 13/093,724", Mailed Date Mar. 11, 2014, 19 Pages.