首页> 外文期刊>IEEE Transactions on Computers >Type Information Elimination from Objects on Architectures with Tagged Pointers Support
【24h】

Type Information Elimination from Objects on Architectures with Tagged Pointers Support

机译:具有标记指针支持的体系结构上的对象类型信息消除

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

摘要

Implementations of object-oriented programming languages associate type information with each object to perform various runtime tasks such as dynamic dispatch, type introspection, and reflection. A common means of storing such relation is by inserting a pointer to the associated type information into every object. Such an approach, however, introduces memory and performance overheads when compared with non-object-oriented languages. Recent 64-bit computer architectures have added support for tagged pointers by ignoring a number of bits - tag - of memory addresses during memory access operations and utilize them for other purposes; mainly security. This paper presents the first investigation into how this hardware support can be exploited by a Java Virtual Machine to remove type information from objects. Moreover, we propose novel hardware extensions to the address generation and load-store units to achieve low-overhead type information retrieval and tagged object pointers compression-decompression. The evaluation has been conducted after integrating the Maxine VM and the ZSim microarchitectural simulator. The results, across all the DaCapo benchmark suite, pseudo-SPECjbb2005, SLAMBench and GraphChi-PR executed to completion, show up to 26 and 10 percent geometric mean heap space savings, up to 50 and 12 percent geometric mean dynamic DRAM energy reduction, and up to 49 and 3 percent geometric mean execution time reduction with no significant performance regressions.
机译:面向对象的编程语言的实现将类型信息与每个对象相关联,以执行各种运行时任务,例如动态调度,类型自省和反射。存储这种关系的一种常用方法是在每个对象中插入一个指向关联类型信息的指针。但是,与非面向对象的语言相比,这种方法会增加内存和性能开销。最近的64位计算机体系结构通过在内存访问操作期间忽略内存地址的多个位(标记)并将其用于其他目的,从而增加了对标记指针的支持。主要是安全性。本文提出了关于Java虚拟机如何利用此硬件支持从对象中删除类型信息的首次调查。此外,我们提出了对地址生成和负载存储单元的新颖硬件扩展,以实现低开销类型的信息检索和带标签的对象指针的压缩-解压缩。评估是在集成Maxine VM和ZSim微体系结构模拟器之后进行的。在所有DaCapo基准套件,伪SPECjbb2005,SLAMBench和GraphChi-PR执行完毕的结果中,显示出分别节省了26%和10%的几何平均堆空间,节省了50%和12%的几何平均动态DRAM能耗,以及最多可减少49%和3%的几何平均执行时间,而不会显着降低性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号