Flexible on-stack replacement in LLVM

  title={Flexible on-stack replacement in LLVM},
  author={Daniele Cono D'Elia and Camil Demetrescu},
  journal={2016 IEEE/ACM International Symposium on Code Generation and Optimization (CGO)},
On-Stack Replacement (OSR) is a technique for dynamically transferring execution between different versions of a function at run time. OSR is typically used in virtual machines to interrupt a long-running function and recompile it at a higher optimization level, or to replace it with a different one when a speculative assumption made during its compilation no longer holds. In this paper we present a framework for OSR that introduces novel ideas and combines features of existing techniques that… CONTINUE READING
3 Extracted Citations
4 Extracted References
Similar Papers

Referenced Papers

Publications referenced by this paper.
Showing 1-4 of 4 references


  • S. J. Fink, F. Qian
  • Implementation and Evaluation of Adaptive…
  • 2003
Highly Influential
6 Excerpts

Similar Papers

Loading similar papers…