Cache bounded reference counting
Abstract
Cache bounded reference counting for computer languages having automated memory management in which, for example, a reference to an object “Z” initially stored in an object “O” is fetched and the cache hardware is queried whether the reference to the object “Z” is a valid reference, is in a cache, and has a continuity flag set to “on”. If the object “Z” is a valid reference, is in the cache, and has a continuity flag set to “on”, the object “O” is locked for an update, a reference counter is decremented for the object “Z” if the object “Z” resides in the cache, and a return code is set to zero to indicate that the object “Z” is de-referenced and that its storage memory can be released and re-used if the reference counter for the object “Z” reaches zero. Thereafter, the cache hardware is similarly queried regarding an object “N” that will become a new reference of object “O”.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method of cache bounded reference counting for computer languages having automated memory management, comprising: fetching a reference to an object “Z” initially stored in an object “O”; querying cache hardware whether the reference to the object “Z” is a valid reference, is in a cache, and has a continuity flag set to “on”; if the object “Z” is a valid reference, is in the cache, and has a continuity flag set to “on”, locking the object “O” for an update, decrementing a reference counter for the object “Z” if the object “Z” resides in the cache, and setting a return cod
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- Burtscher, Martin, Amer Diwan and Matthias Hauswirth. "Static Load Classification for Improving the Value Predictability of Data-Cache Misses" ACM SIGPLAN Notices; vol. 37, Issue 5 (May 2002) Session: Dynamic Prefetching & Cache Optimizations; pp. 222-233; 2002.
- Chilimbi, Trishul M. and James R. Larus. "Using Generational Garbage Collection to Implement Cache-Conscious Data Placement" Proceedings of the 1st International Symposium on Memory Management; pp. 37-48: 1998.
- Choi, Jong-Deok, Manish Gupta, Mauricio Serrano, Vugranam C. Sreedhar and Sam Midkiff. "Escape Analysis for Java" 1999 ACM SIGPLAN Conference on Object-Oriented Programming Systems, Languages, and Applications (OOPSLA99). Denver, Colorado, Nov. 1, 1999.
- Ho, C. Y., W. Y. Lo and Anthony S. S. Fong. "Memory Garbage Collection for an Object-Oriented Processor" Proceedings of the International Conference on Information Technology; pp. 522-527: 2007.
- Meyer, Matthias. "An On-Chip Garbage Collection Coprocessor for Embedded Real-Time Systems" Proceedings of the 11th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications; pp. 517-524: Aug. 2005.