首页> 外文期刊>Science of Computer Programming >Adaptive just-in-time value class optimization for lowering memory consumption and improving execution time performance
【24h】

Adaptive just-in-time value class optimization for lowering memory consumption and improving execution time performance

机译:自适应即时值类优化,可降低内存消耗并提高执行时间性能

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

摘要

The performance of value classes is highly dependent on how they are represented in the virtual machine. Value class instances are immutable, have no identity, and can only refer to other value objects or primitive values and since they should be very lightweight and fast, it is important to optimize them carefully. In this paper we present a technique to detect and compress common patterns of value class usage to improve memory usage and performance. The technique identifies patterns of frequent value object references and introduces abbreviated forms for them. This allows to store multiple inter-referenced value objects in an inlined memory representation, reducing the overhead stemming from metadata and object references. Applied to a small prototype and an implementation of the Racket language, we found improvements in memory usage and execution time for several micro-benchmarks.
机译:值类的性能高度依赖于它们在虚拟机中的表示方式。值类实例是不可变的,没有标识,并且只能引用其他值对象或原始值,并且由于它们应非常轻巧且快速,因此,对其进行仔细优化很重要。在本文中,我们提出了一种检测和压缩值类使用的常见模式以改善内存使用和性能的技术。该技术识别频繁值对象引用的模式,并为它们引入缩写形式。这允许在一个内联内存表示中存储多个相互引用的值对象,从而减少了元数据和对象引用带来的开销。通过将其应用于小型原型和Racket语言的实现,我们发现几个微基准测试在内存使用和执行时间方面都有改进。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号