首页> 外文会议>Proceedings of the 17th IEEE Real-Time and Embedded Technology and Applications Symposium >Predictable Binary Code Cache: A First Step towards Reconciling Predictability and Just-in-Time Compilation
【24h】

Predictable Binary Code Cache: A First Step towards Reconciling Predictability and Just-in-Time Compilation

机译:可预测的二进制代码缓存:调和可预测性和即时编译的第一步

获取原文

摘要

Virtualization and just-in-time (JIT) compilation have become important paradigms in computer science to address application portability issues without deteriorating average-case performance. Unfortunately, JIT compilation raises predictability issues, which currently hinder its dissemination in real-time applications. Our work aims at reconciling the two domains, i.e. taking advantage of the portability and performance provided by JIT compilation, while providing predictability guarantees. As a first step towards this ambitious goal, we study two structures of code caches and demonstrate their predictability. On the one hand, the studied binary code caches avoid too frequent function recompilations, providing good average-case performance. On the other hand, and more importantly for the system determinism, we show that the behavior of the code cache is predictable: a safe upper bound of the number of function recompilations can be computed, enabling the verification of timing constraints. Experimental results show that fixing function addresses in the binary cache ahead of time results in tighter Worst Case Execution Times (WCETs) than organizing the binary code cache in fixed-size blocks replaced using a Least Recently Used (LRU) policy.
机译:虚拟化和实时(JIT)编译已成为计算机科学中解决应用程序可移植性问题而又不降低平均性能的重要范例。不幸的是,JIT编译带来了可预测性问题,当前阻碍了其在实时应用程序中的传播。我们的工作旨在协调两个领域,即利用JIT编译提供的可移植性和性能,同时提供可预测性保证。作为实现这一宏伟目标的第一步,我们研究了代码缓存的两种结构,并证明了它们的可预测性。一方面,所研究的二进制代码缓存避免了过于频繁的函数重新编译,从而提供了良好的平均用例性能。另一方面,更重要的是对于系统确定性,我们表明代码缓存的行为是可预测的:可以计算函数重新编译次数的安全上限,从而可以验证时序约束。实验结果表明,与将二进制代码高速缓存组织在使用最近最少使用(LRU)策略替换的固定大小的块中相比,提前在二进制高速缓存中修复函数地址会导致更严格的最坏情况执行时间(WCET)。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号