Proceedings paper

Title:
Deoptless: speculation with dispatched on-stack replacement and specialized continuations
Authors:
O. Flückiger, J. Ječmen, S. Krynski, J. Vitek
Publication:
Proceedings of the 43rd ACM SIGPLAN International Conference on Programming Language Design and Implementation
DOI:
Year:
2022
ISBN:
978-1-4503-9265-5
Link:

Abstract:
Just-in-time compilation provides significant performance improvements for programs written in dynamic languages. These benefits come from the ability of the compiler to speculate about likely cases and generate optimized code for these. Unavoidably, speculations sometimes fail and the optimizations must be reverted. In some pathological cases, this can leave the program stuck with suboptimal code. In this paper we propose deoptless, a technique that replaces deoptimization points with dispatched specialized continuations. The goal of deoptless is to take a step towards providing users with a more transparent performance model in which mysterious slowdowns are less frequent and grave.

BibTeX:
@inproceedings{fluckiger_deoptless_2022,
    title = {{Deoptless: speculation with dispatched on-stack replacement and specialized continuations}},
    author = {Flückiger, Olivier and Ječmen, Jan and Krynski, Sebastián and Vitek, Jan},
    year = {2022},
    booktitle = {{Proceedings of the 43rd ACM SIGPLAN International Conference on Programming Language Design and Implementation}},
    publisher = {Association for Computing Machinery},
    series = {{PLDI 2022}},
    location = {New York, NY, USA},
    doi = {10.1145/3519939.3523729},
    isbn = {978-1-4503-9265-5},
    pages = {749--761},
    url = {https://doi.org/10.1145/3519939.3523729},
    shorttitle = {Deoptless},
}