Controlling garbage collection and heap growth to reduce the execution time of Java applications

Author:

Brecht Tim1,Arjomandi Eshrat2,Li Chang2,Pham Hang2

Affiliation:

1. University of Waterloo and Hewlett-Packard Labs, Department of Computer Science, Waterloo, Ontario N2L 3G1

2. York University, Department of Computer Science, Toronto, Ontario M3J 1P3

Abstract

In systems that support garbage collection, a tension exists between collecting garbage too frequently and not collecting garbage frequently enough. Garbage collection that occurs too frequently may introduce unnecessary overheads at the rist of not collecting much garbage during each cycle. On the other hand, collecting garbage too infrequently can result in applications that execute with a large amount of virtual memory (i.e., with a large footprint) and suffer from increased execution times die to paging. In this paper, we use a large colleciton of Java applications and the highly tuned and widely used Boehm-Demers-Weiser (BDW) conservative mark-and-sweep garbage collector to experimentally examine the extent to which the frequency of garbage collectio impacts an application's execution time, footprint, and pause times. We use these results to devise some guidelines for controlling garbage and heap growth in a conservative garbage collection in order to minimize application execution times. Then we describe new strategies for controlling in order to minimize application execution times.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference20 articles.

1. An advisor for flexible working sets

2. Simple generational garbage collection and fast allocation

3. H.-J. Boehm. A garbage collector for C and C++ Hans Boehm's Web Page for his garbage collector http://www.hpl.hp.com/personal/Hans_Boehm/gc/. H.-J. Boehm. A garbage collector for C and C++ Hans Boehm's Web Page for his garbage collector http://www.hpl.hp.com/personal/Hans_Boehm/gc/.

4. Space efficient conservative garbage collection

5. Reducing garbage collector cache misses

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Heap Size Adjustment with CPU Control;Proceedings of the 20th ACM SIGPLAN International Conference on Managed Programming Languages and Runtimes;2023-10-19

2. Optimization of Java Virtual Machine Flags using Feature Model and Genetic Algorithm;Companion of the ACM/SPEC International Conference on Performance Engineering;2021-04-19

3. A Shared Memory Cache Layer across Multiple Executors in Apache Spark;2020 IEEE International Conference on Big Data (Big Data);2020-12-10

4. Don't race the memory bus: taming the GC leadfoot;Proceedings of the 2015 International Symposium on Memory Management;2015-06-14

5. Application-specific garbage collection;Journal of Systems and Software;2007-07

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3