Patents
US 9,569,185 B2#45218748 Most CitedActiveUnited States (USPTO)Utility

Changing de-optimization guard representation during the compilation process

2Forward Citations (#45218748 Global)
0.2/yrCitation Velocity (#31903277 Global)
0.87Citation PageRank (#49512912 Global)
20Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (20)

PatentTitleYearCitations
US 5,202,995 AMethod for removing invariant branches from instruction loops of a computer program199365
US 5,923,863 ASoftware mechanism for accurately handling exceptions generated by instructions scheduled speculatively due to branch elimination199927
US 5,933,635 AMethod and apparatus for dynamically deoptimizing compiled activations199954
US 5,970,249 AMethod and apparatus for performing byte-code optimization during pauses199953
US 5,995,754 AMethod and apparatus for dynamically optimizing byte-coded programs199977
US 5,999,738 AFlexible scheduling of non-speculative instructions199920
US 6,009,517 AMixed execution stack and exception handling199940
US 6,237,141 B1Method and apparatus for dynamically optimizing byte-coded programs200167
US 6,301,706 B1Compiler method and apparatus for elimination of redundant speculative computations from innermost loops200141
US 6,317,796 B1Inline database for receiver types in object-oriented systems200126
US 6,513,156 B2Interpreting functions utilizing a hybrid of virtual and native machine instructions200342
US 6,553,426 B2Method apparatus for implementing multiple return sites200310
US 6,601,235 B1Method and apparatus for dynamically deoptimizing compiled activations200313
US 6,637,026 B1Instruction reducing predicate copy200324
US 6,658,656 B1Method and apparatus for creating alternative versions of code segments and dynamically substituting execution of the alternative code versions200342
US 2005138611 A1Compiler optimization—32
US 2012167068 A1Speculative region-level loop optimizations—14
US 2012167069 A1Loop parallelization based on loop splitting or index array—53
US 2014189661 A1Self-optimizing interpreter and snapshot compilation—20
US 8,869,128 B2Compiling method, program, and information processing apparatus20144

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).