Patents
US 7,089,273 B2#6715263 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for improving the performance of garbage collection using stack trace cache

14Forward Citations (#6715263 Global)
0.7/yrCitation Velocity (#10882673 Global)
3.40Citation PageRank (#6202676 Global)
8Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

An arrangement is provided for using a stack trace cache when performing root set enumeration in a stack of a thread during garbage collection. During the first root set enumeration in the stack, full stack unwinding may be performed and a stack trace cache may be created to cache stack trace information relating to stack frames. Subsequent sessions of root set enumeration in the stack may access and copy parts or the entire cached stack trace information instead of performing full stack unwinding.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 14.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method for automatically collecting garbage objects, comprising: performing root set enumeration in a stack of a thread using a stack trace cache; obtaining a root set by combining references obtained from root set enumeration for all threads; tracing live objects that are reachable from references in the root set; and reclaiming storage space occupied by objects other than the live objects.

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the root set comprises currently live references in stacks, registers, and other storage areas for all threads.

  3. Claim 3Depends on #1

    The method of claim 1 , wherein performing root set enumeration in a stack of a thread using a stack trace cache comprises: determining if a stack frame is cached in the stack trace cache; detecting a portion of stack trace information that has not changed since the last stack enumerati

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (14 of 14 total)

PatentTitleYearCitations
US 2009070776 A1System and method to improve memory usage in virtual machines running as hypervisor guests—84
US 2009319720 A1System and method of garbage collection in a memory device—101
US 9,274,947 B1Non-precise garbage collection in non-cooperative systems20160
US 9,032,410 B1Non-precise garbage collection in non-cooperative systems20157
US 7,251,671 B2Method and system for garbage collection wherein resetting the mark/allocation bit, and switching the mark/allocation bit to the mark bit to perform marking and scanning of objects using the identified object as a root object and providing mark/allocation bit information being displayed at the client200716
US 8,825,719 B2Incremental lock-free stack scanning for garbage collection20146
US 8,959,512 B2System and method to improve memory usage in virtual machines running as hypervisor guests20151
US 8,880,775 B2System and method of garbage collection in a memory device201419
US 11,442,739 B2Exception handling20221
US 8,156,492 B2System and method to improve memory usage in virtual machines running as hypervisor guests201234
US 2005216539 A1Integration of mark bits and allocation bits—8
US 2010114998 A1Incremental lock-free stack scanning for garbage collection—40
US 2010293206 A1Clustering related objects during garbage collection—15
US 7,197,521 B2Method and system performing concurrently mark-sweep garbage collection invoking garbage collection thread to track and mark live objects in heap block using bit vector200736