计算机科学 > 程序设计语言
[提交于 2022年4月6日]
标题:Deoptless: Speculation with Dispatched On-Stack Replacement and Specialized Continuations
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Olivier Flückiger[v1] 2022年4月6日 星期三 00:00:00 UTC