Dynamically sized locals with precise garbage collection reporting
Abstract
An instance of universally shared generic code is generated. A runtime parameter enables the size of a stack frame on which local data can be stored to be determined. Dynamically sized locals can be stored on a stack enabling precise garbage collection reporting. One frame of the stack is allocated for each code segment to simplify GC reporting. A reporting region in the frame memory region comprises a count of locals and a location at which the local is found in the stack.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computing device comprising: at least one processor; and a memory connected to the at least one processor; wherein the at least one processor is configured to: execute a single instance of universally shared generic code that works for all data types of variables and/or objects in each instantiation of corresponding generic source code by performing actions to: allocate space on a stack, instead of a garbage collection heap, for local data; store local data on the stack, wherein the local data is variably sized; store a description of the stored local data on the stack; and provide precise g
- Claim 2Depends on #1
The computing device of claim 1 , f
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (4)
- "International Search Report and Written Opinion Issued in PCT Application No. PCT/US2017/031629", dated Jul. 6, 2017, 17 Pages.
- "Limitations", Published on: May 11, 2015. Available at: https://developer.xamarin.com/guides/ios/advanced_topics/limitations/offline.pdf.
- Agesen, et al., "Garbage Collection and Local Variable Type-Precision and Liveness in JavaTM Virtual Machines", In Proceedings of ACM SIGPLAN Conference on Programming Language Design and Implementation, Jun. 17, 1998, pp. 269-279.
- Ganesan, Ravichandran, "Local Variable Allocation for Accurate Garbage Collection of C++", In Technical Report TR94-12, Nov. 8, 1994, 26 pages.