Patents
US 7,921,143 B2#15415786 Most CitedActiveUnited States (USPTO)Utility

Declarative pinning

7Forward Citations (#15415786 Global)
0.5/yrCitation Velocity (#17611076 Global)
1.69Citation PageRank (#18932199 Global)
42Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A system and method is provided for efficiently pinning references to the managed heap. The system and method allow for references to managed objects to be declared as pinned during a call to unmanaged code. The references are then reported as pinned to a garbage collector in response to invocation of a garbage collection service. The reference can be declared as pinned by a programmer within the source code or automatically invoked at run-time based on an unsafe condition. The garbage collection service will not move or relocate objects that are referenced by the active pinned local variables. If a garbage collection does not occur, the fact that the local variables are declared pinned is ignored.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer storage device having stored computer-executable instructions which, when executed by one or more processors of a computing system, implement a method comprising: executing code corresponding to at least one program; storing objects on a memory heap during execution of the code; storing references to the objects in a process stack during execution of the code; in response to an invocation of a call from managed code to unmanaged code that passes at least one reference to at least one object on the memory heap from the managed code to the unmanaged code to be used by the unmanaged co

Technical Overview & Description

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

References Cited — Backward Prior Art (42)

PatentTitleYearCitations
US 4,907,151 ASystem and method for garbage collection with ambiguous roots1990118
US 5,088,036 AReal time, concurrent garbage collection system and method1992363
US 5,321,834 AMethod and system for reclaiming unreferenced computer memory space199492
US 5,590,332 AGarbage collection, tail recursion and first-class continuations in stack-oriented languages1996101
US 5,652,883 AComputer method and system for conservative-stack and generational heap garbage collection199793
US 5,687,368 ACPU-controlled garbage-collecting memory module1997107
US 5,900,001 AMethod and apparatus for optimizing exact garbage collection using a bifurcated data structure1999139
US 5,903,900 AMethod and apparatus for optimizing exact garbage collection of array nodes in a carded heap1999110
US 5,946,492 ACompiler that reduces call stack size through identification of stackless variables199931
US 5,999,732 ATechniques for reducing the cost of dynamic class initialization checks in compiled code199991
US 6,049,810 AMethod and apparatus for implementing a write barrier of a garbage collected heap2000108
US 6,065,020 ADynamic adjustment of garbage collection2000183
US 6,093,216 AMethod of run-time tracking of object references in Java programs200083
US 6,098,089 AGeneration isolation system and method for garbage collection2000163
US 6,101,580 AApparatus and method for assisting exact garbage collection by using a stack cache of tag bits200074
US 6,105,041 AUsing three-state references to manage garbage collection of referenced objects200041
US 6,115,782 AMethod and apparatus for locating nodes in a carded heap using a card marking structure and a node advance value200094
US 6,125,434 ADynamic memory reclamation without compiler or linker assistance200074
US 6,173,294 B1Method for combining card marking with remembered set for generational garbage collection with more than two generations200191
US 6,226,653 B1Method and apparatus for performing generational garbage collection using remembered set counter2001123
US 6,253,215 B1Method, apparatus, and article of manufacture for facilitating resource management for applications having two types of program code200189
US 6,289,360 B1Method and system for eliminating synchronization between sweep and allocate in a concurrent garbage collector200194
US 6,317,756 B1On-the-fly garbage collector200168

Non-Patent Literature (5)

  • Fred Brown, "Incremental Garbage Collection in Massive Object Stores", Proceedings of the 24th Ausralasian Conference on Computer Science, pp. 38-46, 2001.
  • G. Rodriquez-Rivera et al., "Conservative Garbage Collection for General Memory Allocators", SIGPLAN Notices, vol. 36, No. 1, Jan. 2001, pp. 71-79.
  • J. Richter, "Garbage Collection: Automatic Memory Management in the Microsoft .NET Framework", MSDN Magazine, Jan. 9, 2001, 18 pages.
  • L. Amsaleg et al., "Garbage Collection for a Client-Server Persistent Object Store", ACM Transactions on Computer Systems, vol. 17, No. 3, Aug. 1999, pp. 153-201.
  • M. Rezaei et al., "A New Implementation Technique for Memory Management", Proceedings of the IEEE SoutheastCon 2000, ‘Preparing for the New Millennium’, 2000, pp. 332-339.