Modeling, Analysis and Throughput Optimization of a Generational Garbage Collector

被引:0
作者
Vengerov, David [1 ]
机构
[1] Sun Microsyst Labs, Menlo Pk, CA 94025 USA
来源
ISMM'09: PROCEEDINGS OF THE 2009 ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT | 2009年
关键词
Garbage collection; throughput model; parameter optimization; tenuring threshold;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
One of the garbage collectors in Sun's HotSpot Java (TM) Virtual Machine is known as the generational throughput collector, which was designed to have a large throughput (fraction of time spent on application's work rather than on garbage collection). This paper derives an analytical expression for the throughput of this collector in terms of the following key parameters: the sizes of the Young and Old memory spaces and the value of the tenuring threshold. Based on the derived throughput model, a practical algorithm ThruMax is proposed for tuning the collector's parameters so as to formally maximize its throughput. This algorithm was implemented in a custom Java Virtual Machine (JVM) based on the HotSpot sources currently shipped in JDK (TM) 6, and its performance was evaluated on multiple benchmark workloads. A consistent improvement in throughput was demonstrated when the ThruMax algorithm was enabled in this JVM. More importantly, the ThruMax algorithm was shown to actually converge the collector's parameters to the optimal values that resulted in the highest benchmark throughput.
引用
收藏
页码:1 / 9
页数:9
相关论文
共 11 条
[1]  
[Anonymous], TUNING GARBAGE COLLE
[2]  
BARRETT DA, P ACM SIGPLAN 1993 C, P187
[3]  
BARRETT DA, P ACM SIGPLAN 1995 C, P301
[4]   Profile-based pretenuring [J].
Blackburn, Stephen M. ;
Hertz, Matthew ;
McKinley, Kathryn S. ;
Moss, J. Eliot B. ;
Yang, Ting .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2007, 29 (01)
[5]  
BRECHT T, 2001, P OBJ OR PROGR SYST, P353
[6]  
DEMMERS A, 1989, P 17 ACM SIGPLAN SIG, P261
[7]  
Harris TimothyL., 2000, Proceedings of the 2nd International Symposium on Memory Management, ISMM'00, page, P127, DOI DOI 10.1145/362422.362476
[8]  
Jones R.E., 1996, Garbage Collection: Algorithms for Automatic Dynamic Memory Management
[9]   Structure and activity relationships for amine based CO2 absorbents -: I [J].
Singh, Prachi ;
Niederer, John P. M. ;
Versteeg, Geert F. .
INTERNATIONAL JOURNAL OF GREENHOUSE GAS CONTROL, 2007, 1 (01) :5-10
[10]   AN ADAPTIVE TENURING POLICY FOR GENERATION SCAVENGERS [J].
UNGAR, D ;
JACKSON, F .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1992, 14 (01) :1-27