Changing de-optimization guard representation during the compilation process
Abstract
A method for compiling code includes receiving a code section representation including a guard at a location, placing, at the guard, a triggering condition, and relocating the guard from the location to a second location in the code section representation. The method also includes transforming the guard into a control-split instruction. The control-split instruction includes a deoptimization branch and a continue execution branch. The method further includes placing, at the guard, a deoptimization instruction, and selecting a symbolic frame state linked to a side-effecting instruction. The side-effecting instruction is the last side-effecting instruction before the control-split instruction. The method also includes linking the deoptimization instruction with the symbolic frame state based on the symbolic frame state being linked to the side-effecting instruction, unlinking the symbolic frame state from the side-effecting instruction, and storing the code section representation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for compiling code, comprising: receiving a code section representation comprising a first guard at a first location in the code section representation; placing, at the first location of the first guard, a first triggering condition that defines when to deoptimize the code section representation; relocating, by a compiler, the first guard from the first location to a second location in the code section representation, wherein relocating the first guard reduces an amount of execution time of the code section representation by eliminating redundant instructions associated with one or mo
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 (20)
Non-Patent Literature (5)
- da Silva et al. "An Experimental Evaluation of JAVA JIT Technology" 2005, Journal of Universal Computer Science, vol. 11, No. 7.
- Gupta et al. "Path Profile Guided Partial Redundancy elimination Using Speculation", 1998, Proceedings of the IEEE International conference on Computer Languages.
- Holzle, U., et al., "A Third-Generation Self Implementation: Reconciling Responsiveness with Performance", Portland, Oregon, Oct. 1994 (15 pages).
- Holzle, U., et al., "Debugging Optimized Code with Dynamic Deoptimization", San Francisco, California, Jun. 1992 (12 pages).
- Holzle, U., et al., "Optimizing Dynamically-Dispatched Calls with Run-Time Type Feedback", Orlando, Florida, Jun. 1994 (11 pages).