【24h】

Chameleon

机译:变色龙

获取原文

摘要

Languages such as Java and C#, as well as scripting languages like Python, and Ruby, make extensive use of Collection classes. A collection implementation represents a fixed choice in the dimensions of operation time, space utilization, and synchronization. Using the collection in a manner not consistent with this fixed choice can cause significant performance degradation. In this paper, we present CHAMELEON, a low-overhead automatic tool that assists the programmer in choosing the appropriate collection implementation for her application. During program execution, CHAMELEON computes elaborate trace and heap-based metrics on collection behavior. These metrics are consumed on-thefly by a rules engine which outputs a list of suggested collection adaptation strategies. The tool can apply these corrective strategies automatically or present them to the programmer. We have implemented CHAMELEON on top of a IBM's J9 production JVM, and evaluated it over a small set of benchmarks. We show that for some applications, using CHAMELEON leads to a significant improvement of the memory footprint of the application.
机译:Java和C#等语言以及Python和Ruby等脚本语言广泛使用了Collection类。收集实现代表了操作时间,空间利用率和同步性方面的固定选择。以与该固定选择不一致的方式使用集合可能会导致性能显着下降。在本文中,我们介绍了CHAMELEON,这是一种开销很小的自动工具,可以帮助程序员为她的应用选择合适的集合实现。在程序执行期间,CHAMELEON会计算关于收集行为的详细跟踪和基于堆的指标。这些度量由规则引擎即时消耗,该规则引擎输出建议的集合适应策略列表。该工具可以自动应用这些纠正策略,也可以将其提供给程序员。我们已经在IBM的J9生产JVM上实现了CHAMELEON,并通过一小组基准对其进行了评估。我们表明,对于某些应用程序,使用CHAMELEON可以显着改善应用程序的内存占用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号