Patents
US 6,999,980 B2#7145637 Most CitedExpiredUnited States (USPTO)Utility

Eliminating write barriers for young objects

14Forward Citations (#7145637 Global)
0.7/yrCitation Velocity (#10973206 Global)
1.62Citation PageRank (#20266921 Global)
10Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

In a computer system that uses a generational garbage collector in which objects are promoted from a “young” generation to an “old” generation, a compiler output designates certain dynamic-allocation instructions as being ones whose resultant allocated objects will be considered “pinned.” The compiler associates with such allocation instructions respective segments of the code following the instructions and objects allocated within one of those segments are considered to remain pinned until program execution passes beyond that segment. The garbage collector refrains from promoting any pinned object, and as a consequence, an instruction that writes a reference into an object field while that object is pinned does not need to be accompanied by a write barrier.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A source-instruction executor that, in response to source code that specifies operation of a mutator that includes at least one dynamic allocation in a heap of an object that includes a reference field: A) runs the mutator and a garbage collector that so manages the heap as to organize it into a young generation and an old generation and relies on results of write-barrier execution to keep track of references located in the old generation but not to keep track of those located in the young generation; B) chooses at least one said dynamic allocation to be an allocation of an initially pinned ob

Technical Overview & Description

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

Non-Patent Literature (2)

  • Oracle, "Programmer's Guide to the Oracle Call Interface", Copyright 1997 Oracle Operation, ppl. 1-15.
  • Urs Hölzle, "A Fast Write Barrier for Generational Garbage Collectors," OOPSLA'93 Garbage Collection Workshop, Oct. 1993, Washington, D.C. , pp. 1-6.