Lazy copying of runtime-managed stack frames
Abstract
Techniques for lazy copying of runtime-managed stack frames are disclosed. A runtime environment generates a runtime-managed stack including multiple frames. A topmost subset of frames includes data associated with particular instructions and a return address. A lower subset of frames includes data associated with different instructions. The runtime environment stores a copy of the topmost subset of frames in an OS-managed stack, without copying the lower subset. The particular instructions execute using the copy of the topmost subset of frames in the OS-managed stack. The runtime environment replaces, in the copy, the return address with a return barrier address. When execution of the instructions terminates, control passes to return barrier instructions, which store a copy of the lower subset of frames in the OS-managed stack and pass control to the different instructions. The different instructions execute using the copy of the lower subset of frames in the OS-managed stack.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory computer readable medium comprising instructions which, when executed by one or more hardware processors, cause performance of operations comprising: generating, by a runtime environment executing on top of an operating system (OS), a runtime-managed stack comprising a plurality of frames, wherein a first subset of the plurality of frames is topmost in the runtime-managed stack and comprises data associated with a first plurality of instructions, wherein a second subset of the plurality of frames is located below the first subset of the plurality of frames in the runtime-manag
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (5)
Non-Patent Literature (1)
- Yuasa et al., "Return Barrier", International Lisp Conference, 2002, pp. 1-12 (Year: 2002).