Dynamic adaptive tenuring of objects
Abstract
Run time sampling techniques have been developed whereby representative object lifetime statistics may be obtained and employed to adaptively affect tenuring decisions, memory object promotion and/or storage location selection. In some realizations, object allocation functionality is dynamically varied to achieve desired behavior on an object category-by-category basis. In some realizations, phase behavior affects sampled lifetimes e.g., for objects allocated at different phases of program execution, and the dynamic facilities described herein provide phase-specific adaptation tenuring decisions, memory object promotion and/or storage location selection. In some realizations, reversal of such decisions is provided.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 59.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of managing a generational memory, the method comprising: sampling, at run-time of an execution sequence, lifetimes of a representative subset of memory objects in the generational memory; and pretenuring, based on the sampled lifetimes, at least some of the memory objects allocated from the generational memory during the execution sequence.
- Claim 2Depends on #1
The method of claim 1 , wherein the pretenuring is performed for those of the memory objects for which corresponding sampled lifetimes exceed a first metric.
- Claim 3Depends on #2
The method of claim 2 , wherein the pretenuring is reversed, if corresponding sampled lifetimes fall below a second metric.
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 59 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- Andrew W. Appel, "Simple Generational Garbage Collection and Fast Allocation," Software Practice and Experience, 19(2), pp. 171-183, Feb. 1989.
- 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.
- David R. Hanson, "Fast Allocation and Deallocation of Memory Based on Object Lifetimes," Software-Practice and Experience, vol. 20(1), pp. 5-12, Jan. 1990, John Wiley & Sons, Ltd.