Method and system of permitting stack allocation to programs having open-world features
Abstract
A system of permitting stack allocation in a program with open-world features is described. The system includes an escape analysis module to (1) determine which objects of the program can be stack-allocated under a closed-world assumption and (2) analyze, after stack allocation, which stack allocation is invalidated due to the occurrence of an open-world feature. A stack allocation module is provided to stack-allocate these objects based on the determination of the escape analysis module. A stack allocation recovery module is provided to recover those invalidated stack allocations back to their original allocation in heap based on the analysis of the escape analysis module. A method of permitting stack allocation in a program with open-world features is also described.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 18.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system, comprising: a computer-based execution system including a processor and a memory; a runtime system stored in and run on the execution system that includes an escape analysis module to (1) determine which objects of a program can be stack allocated under a closed-world assumption and (2) analyze which stack allocation is invalidated due to an occurrence of an open-world feature; a stack allocation module to stack allocate the objects determined by the escape analysis module; and a stack allocation recovery module to recover invalidated stack allocations back to their original allocati
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 18 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (2)
- Choi et al. "Escape Analysis for Java" ACM SIGPLAN Conference on Object Oriented Programming Systems, Languages, and Applications (OOPSLA99) Nov. 1, 1999, pp. 1-19.
- Choi et al. "Stack Allocation and Synchronization Optimiztions for Java Using Escape Analysis" ACM Transactions on Programming Languages and Systmes, vol. 25,No. 6, Nov. 2003, pp. 876-910.