Garbology: a study of how Java objects die
Garbology: a study of how Java objects die
复制标题
Garbology:研究 Java 对象如何死亡
DOI:
10.1145/3133850.3133854
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Guyer, Samuel Z.
中科院分区:
文献类型:
--
作者:
Veroy, Raoul L.;Guyer, Samuel Z.
In this paper we present a study of how Java programs dispose of objects. Unlike prior work on object demographics and lifetime patterns, our goal is to precisely characterize the actions that cause objects to become unreachable. We use a recently-developed tracing tool, called Elephant Tracks, which can localize object deaths within a specific method and tell us the proximal cause. Our analysis centers around garbage clusters: groups of connected objects that become unreachable at precisely the same time due to a single program action. We classify these clusters using traditional features, such as size, allocation site, and lifetime, and using new ones, such as death site and cause of death. We then use this knowledge about garbage clusters in a new GC algorithm: the Cluster Aware Garbage Collection (CAGC) algorithm.We present results for a set of standard benchmarks including SPECJVM98, SPECjbb, and DaCapo. We identify several patterns that could inform the design of new collectors or tuning of existing systems. Most garbage clusters are small, suggesting that these programs almost always dispose of large structures in a piecemeal fashion. In addition, most clusters die in one of only a dozen or so places in the program. Furthermore, these death sites are much more stable and predictable than object lifetimes. Finally we show that the CAGC algorithm can in certain cases improve GC performance.
登录
查看更多内容
DOI:
--
发表时间:
1991
期刊:
Conference on Object-Oriented Programming Systems, Languages, and Applications
影响因子:
--
作者:
Barry Hayes
通讯作者:
Barry Hayes
DOI:
--
发表时间:
2002
期刊:
International Symposium on Mathematical Morphology and Its Application to Signal and Image Processing
影响因子:
--
作者:
Martin Hirzel;Johannes Henkel;Amer Diwan;M. Hind
通讯作者:
M. Hind
DOI:
--
发表时间:
2006
期刊:
TOPL
影响因子:
--
作者:
Matthew Hertz;S. Blackburn;J. E. B. Moss;Kathryn S. McKinley;D. Stefanovic
通讯作者:
D. Stefanovic
DOI:
--
发表时间:
2001
期刊:
Conference on Object-Oriented Programming Systems, Languages, and Applications
影响因子:
--
作者:
S. Blackburn;S. Singhai;Matthew Hertz;K. McKinley;J. E. B. Moss
通讯作者:
J. E. B. Moss
DOI:
--
发表时间:
1999
期刊:
European Conference on Object-Oriented Programming
影响因子:
--
作者:
Sylvia Dieckmann;Urs Hölzle
通讯作者:
Urs Hölzle