arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2203.02340cs.PL
收藏

Deoptless:使用调度的栈内替换和专门的延续的推测

Deoptless: Speculation with Dispatched On-Stack Replacement and Specialized Continuations

Olivier Flückiger, Jan Ječmen, Sebastián Krynski, Jan Vitek

摘要:

即时编译为用动态语言编写的程序提供了显著的性能改进。这些好处来自于编译器推测可能的情况并为这些情况生成优化代码的能力。不可避免的是,推测有时会失败,优化必须恢复。在某些病态的情况下,这可能会使程序陷入次优代码。在本文中,我们提出deoptless,一种技术,取代deoptimization点与派遣专门的延续。deoptless的目标是向用户提供一个更透明的性能模型迈出一步,在这个模型中,神秘的减速不那么频繁和严重。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑