Pretenuring for Java

Pretenuring for Java
复制标题

Java 的预占权

DOI:
--
复制
发表时间:
2001
期刊:
Conference on Object-Oriented Programming Systems, Languages, and Applications
影响因子:
--
通讯作者:
J. E. B. Moss
J. E. B. Moss
中科院分区:
--
文献类型:
--
作者:
S. Blackburn;S. Singhai;Matthew Hertz;K. McKinley;J. E. B. Moss

文献摘要

被引文献

相似文献

假装可以通过将长寿命的物体分配到垃圾收集器中,以降低垃圾收集者的复制成本,而垃圾收集器很少(如果有的话)会收集以下工作。垃圾收集器算法和配置。我们可以并结合不同应用的建议。应用程序和Java的Java和Java的运行时间系统的应用程序表明,我们的结果表明,从不同的应用程序执行中,将构建建议在jalapeño中融合了jalapeño,无论jalapeño都在编译和执行。为用户应用提供了一些预示的好处,而没有任何申请分析。几乎总是明显的。
Pretenuring can reduce copying costs in garbage collectors by allocating long-lived objects into regions that the garbage collector with rarely, if ever, collect. We extend previous work on pretenuring as follows. (1) We produce pretenuring advice that is neutral with respect to the garbage collector algorithm and configuration. We thus can and do combine advice from different applications. We find that predictions using object lifetimes at each allocation site in Java prgroams are accurate, which simplifies the pretenuring implementation. (2) We gather and apply advice to applications and the Jalapeño JVM, a compiler and run-time system for Java written in Java. Our results demonstrate that building combined advice into Jalapeño from different application executions improves performance regardless of the application Jalapeño is compiling and executing. This build-time advice thus gives user applications some benefits of pretenuring without any application profiling. No previous work pretenures in the run-time system. (3) We find that application-only advice also improves performance, but that the combination of build-time and application-specific advice is almost always noticeably better. (4) Our same advice improves the performance of generational and Older First colleciton, illustrating that it is collector neutral.