首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >On the design of the local variable cache in a hardware translation-based Java Virtual Machine
【24h】

On the design of the local variable cache in a hardware translation-based Java Virtual Machine

机译:基于硬件翻译的Java虚拟机中局部变量缓存的设计

获取原文
获取原文并翻译 | 示例
       

摘要

Hardware bytecode translation is a technique to improve the performance of the Java Virtual Machine (JVM), especially on the portable devices for which dynamic compilation is infeasible. However, since the translation is done on a single bytecode basis, it is likely to generate frequent memory accesses for local variables which can be a performance bottleneck.In this paper, we propose to add a small register file to the datapath of the hardware-translation based JVM and use it as a local variable cache. We evaluate the effectiveness of the local variable cache against the size of the local variable cache which determines the chip area overhead and the operating speed. We also discuss the mechanisms for the efficient parameter passing and the on-the-fly profiling.With two types of exceptions, a 16-entry local variable cache achieved hit ratios of 60 to 98 %. The first type of exceptions is represented by the FFT, which accesses more than 16 local variables. In this case, on-the-fly profiling was effective. The hit ratio of 16-entry cache for the FFT was increased from 44 to 83 %. The second type of exception is represented by the SAXON XSLT processor for which cold misses were significant. The proposed parameter passing mechanism turned 6.4 to 13.3 % of total accesses from miss to hit to the local variable cache.
机译:硬件字节码转换是一种提高Java虚拟机(JVM)性能的技术,尤其是在无法进行动态编译的便携式设备上。但是,由于转换是在单个字节码的基础上完成的,因此很可能会频繁访问局部变量,这可能会成为性能瓶颈。在本文中,我们建议在硬件的数据路径中添加一个小的寄存器文件,基于转换的JVM,并将其用作本地变量缓存。我们根据局部变量高速缓存的大小来评估局部变量高速缓存的有效性,后者决定了芯片面积的开销和运行速度。我们还讨论了有效的参数传递和动态配置文件的机制。除两种类型的异常外,16项本地变量高速缓存的命中率达到60%到98%。第一种异常类型由FFT表示,FFT可以访问16个以上的局部变量。在这种情况下,即时分析是有效的。 FFT的16项高速缓存的命中率从44%增加到83%。第二类异常是由SAXON XSLT处理器代表的,对于这种异常,冷缺失很明显。提出的参数传递机制将总访问量的6.4%从未命中转移到命中本地变量缓存。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号