Patents
US 6,799,191 B2#3052799 Most CitedExpiredUnited States (USPTO)Utility

Object sampling technique for runtime observations of representative instances thereof

25Forward Citations (#3052799 Global)
1.1/yrCitation Velocity (#5458038 Global)
3.52Citation PageRank (#5850696 Global)
7Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

With better knowledge of the behavior of objects in a running application, it is possible to improve execution environment decisions that affect management of such objects. For example, if available, object lifetime statistics could be employed in decisions that affect how and where objects are placed, e.g., on allocation or during operation of automatic dynamic memory management facilities such as a garbage collector. Typically, instrumenting all objects to sample lifetimes or other characteristics would impose an impractical level of overhead. We present a technique for dynamic sampling of a subset of allocated objects that incurs low runtime overheads. Coupled with automatic memory management or collection facilities, this technique allows us to improve the efficiency of a collector by segregating objects, sampled and non-sampled alike, based on observed characteristics such as object lifetime. The sampling techniques facilitate tracking of many kinds of object information. For purposes of illustration, an exemplary implementation is described in which such sampling techniques are exploited to improve performance of generational garbage collectors.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method of generating object lifetime statistics based on run-time observations, the method comprising: selecting from amongst object instances of an observed category, a sampled subset of the object instances allocated in one or more execution threads of a computational system; coincident with allocation of a sampled instance of an object, establishing a weak reference thereto and associating therewith information indicative of at least allocation time; and referencing the sampled instances at run-time via the weak references and updating the object lifetime statistics based on the associate

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the then-current state includes garbage collection state of sampled instances.

  3. Claim 3Depends on #1

    The method of claim 1 ,

Technical Overview & Description

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

Cited By — Indexed Forward Citations (15 of 25 total)

PatentTitleYearCitations
US 2004172428 A1Numbering sequences of cars with the same number in a generation managed by the train algorithm—3
US RE42396 EMethod of deterministic garbage collection20110
US 7,624,137 B2Method and apparatus for scheduling and performing garbage collection in a real-time system with guaranteed space bounds200914
US 8,782,610 B2Method of tracing object allocation site in program, as well as computer system and computer program therefor20142
US 8,326,894 B2Method and system to space-efficiently track memory access of object-oriented language in presence of garbage collection20123
US 7,548,940 B2Generational real-time garbage collection20099
US 7,606,989 B1Method and apparatus for dynamically pre-tenuring objects in a generational garbage collection system20096
US 2005071460 A1Automated scalable and adaptive system for memory analysis via identification of leak root candidates—18
US 7,599,973 B2Method and apparatus for decreasing object copying by a generational, copying garbage collector20094
US 2007174370 A1Method and apparatus for decreasing object copying by a generational, copying garbage collector—21
US 2004098553 A1Merging trains in a collector based on the train algorithm—6
US 8,555,255 B2Method of tracing object allocation site in program, as well as computer system and computer program therefor20133
US 7,676,511 B2Method and apparatus for reducing object pre-tenuring overhead in a generational garbage collector20105
US 2013086132 A1Time-based object aging for generational garbage collectors—12
US 8,825,721 B2Time-based object aging for generational garbage collectors201413

Non-Patent Literature (5)

  • "Memory Allocation Monitoring Class", IBM Technical Disclosure Bulletin, IBM Corp., New York, p. 445, vol. 37, No. 04A, Apr. 1994 (1 page).
  • Andrew W. Appel, "Simple Generational Garbage Collection and Fast Allocation," Software Practice and Experience, 19(2), Feb. 1989, pp. 171-183.
  • Benjamin G. Zorn, "Comparative Performance Evaluation of Garbage Collection Algorithms," PhD Thesis, 332 pp., Dec. 1989, available as TR UCB/CSD 89/544.
  • David A. Barrett and Benjamin G. Zorn, "Garbage Collection using a Dynamic Threatening Boundary," LaJolla, CA, ACM SIGPLAN Notices, vol. 30, pp. 301-311, Jun. 1995, ACM Press, Proc. SIGPLAN 95 Conf. on CCD.
  • David A. Barrett and Benjamin G. Zorn, "Using Lifetime Predictors to Improve Memory Allocation Performance," Albuquerque, NM, ACM SIGPLAN Notices, 28(6), pp. 187-196, Jun. 1993, ACM Press. Proc. SIGPLAN 93 Conf. on CCD.