Patents
US 9,684,679 B2#41781053 Most CitedActiveUnited States (USPTO)Utility

Conservative garbage collecting and tagged integers for memory management

2Forward Citations (#41781053 Global)
0.2/yrCitation Velocity (#31701760 Global)
0.97Citation PageRank (#43409988 Global)
20Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (20)

PatentTitleYearCitations
JP H0442338 AAccessable object deciding means for garbage collection system—11
EP 0,874,309 A2Method and apparatus for optimizing exact garbage collection of objects having intermingled pointer and non-pointer values—24
JP H10301835 AMethod and device for optimizing strict garbage collection of object provided with mixed pointer variable and non-pointer variable—4
US 5,920,876 APerforming exact garbage collection using bitmaps that identify pointer values within objects1999114
US 5,991,779 AProcess for distributed garbage collection199917
US 6,101,580 AApparatus and method for assisting exact garbage collection by using a stack cache of tag bits200074
US 6,675,354 B1Case-insensitive custom tag recognition and handling200483
US 6,782,192 B1Recording medium apparatus and method related to information representing tunes200411
US 7,062,709 B2Method and apparatus for caching VoiceXML documents200654
US 2007067372 A1Systems and methods for employing tagged types in a dynamic runtime environment—10
US 2007150868 A1Inserting stack clearing code in conservative garbage collection—14
US 7,325,106 B1Method for monitoring heap for memory leaks200846
US 2008098296 A1Rendering hypertext markup language content—61
US 7,631,024 B2Method and apparatus for facilitating mark-sweep garbage collection with reference counting20096
US 2009327377 A1Copying entire subgraphs of objects without traversing individual objects—32
US 2010023884 A1Rendering hypertext markup language content—14
JP 2010073127 AMemory management method and computer using the same—11
US 2010122157 A1Cross-browser toolbar and method thereof—13
US 7,730,016 B2Identification of false ambiguous roots in a stack conservative garbage collector20108
CN 102,622,599 AData output and input method using point coding—16

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.