On the prediction of Java']Java object lifetimes

被引:12
|
作者
Inoue, Hajime
Stefanovic, Darko
Forrest, Stephanie
机构
[1] Carleton Univ, Sch Comp Sci, Ottawa, ON K1S 5B6, Canada
[2] Univ New Mexico, Dept Comp Sci, Albuquerque, NM 87131 USA
基金
美国国家科学基金会;
关键词
object lifetimes; workload characterization; pretenuring; object-oriented programming languages; garbage collection; program behavior;
D O I
10.1109/TC.2006.107
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Accurately predicting object lifetimes is important for improving memory management systems. Current garbage collectors make relatively coarse-grained predictions ( e. g., "short-lived" versus "long-lived") and rely on application- independent heuristics related to the local characteristics of an allocation. This paper introduces a prediction method which is fully precise and makes its predictions based on application- specific training rather than application- independent heuristics. By "fully precise" we mean that the granularity of predictions is equal to the smallest unit of allocation. The method described here is the first to combine high precision and efficiency in a single lifetime predictor. Fully precise prediction enables us, for the first time, to study zero-lifetime objects. The paper reports results showing that zero-lifetime objects comprise a significant fraction of object allocations in benchmark programs for the Java programming language and that they are correlated with their allocation context ( the call stack and allocation site). Beyond zero-lifetime objects, the paper reports results on predicting longer lived objects, where, in some cases, it is possible to predict the lifetime of objects based on their allocation context ( the call stack and allocation site) well. For the SPEC benchmark programs, the number of dynamically allocated objects whose call sites have accurate predictors ranges from 0.2 percent to 61 percent. This method could potentially improve the performance of garbage collectors. The paper proposes a death- ordered collector (DOC) and analyzes its implementation overheads and its best possible performance. The study shows how memory performance could be enhanced using the extra information provided by fully precise prediction.
引用
收藏
页码:880 / 892
页数:13
相关论文
共 50 条
  • [31] Object models and Java
    Dr Dobb's J Software Tools Prof Program, 12 (20):
  • [32] OMS Java']Java - A persistent object management framework
    Kobler, A
    Norrie, MC
    JAVA AND DATABASES, 2000, : 317 - 331
  • [33] A Teaching Path for Java']Java Object Oriented Programming
    Su Jian
    Weng Wenyong
    Wang Zebing
    2009 INTERNATIONAL FORUM ON INFORMATION TECHNOLOGY AND APPLICATIONS, VOL 3, PROCEEDINGS, 2009, : 465 - +
  • [34] JEOPS - The Java']Java embedded object production system
    da Figueira, CS
    Ramalho, GL
    ADVANCES IN ARTIFICIAL INTELLIGENCE, 2000, 1952 : 53 - 62
  • [35] Modelling Java']Java concurrency with object-Z
    Duke, R
    Wildman, L
    Long, B
    FIRST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, PROCEEDINGS, 2003, : 173 - 181
  • [36] Java']Java's object-oriented communications
    Clip, P
    BYTE, 1998, 23 (02): : 53 - 54
  • [37] Cold object identification in the Java']Java virtual machine
    Briggs, Kim T.
    Zhou, Baoguo
    Dueck, Gerhard W.
    SOFTWARE-PRACTICE & EXPERIENCE, 2017, 47 (01): : 79 - 95
  • [38] A Java']Java architecture for dynamic object and framework customizations
    Seiter, LM
    OBJECT-ORIENTED TECHNOLOGY: ECOOP'98 WORKSHOP READER, 1998, 1543 : 125 - 129
  • [39] A knowledge discovery object model API for Java']Java
    Zuyderduyn, SD
    Jones, SJM
    BMC BIOINFORMATICS, 2003, 4 (1)
  • [40] Object-oriented parallel CFD with JAVA']JAVA
    Eyheramendy, D
    PARALLEL COMPUTATIONAL FLUID DYNAMICS: ADVANCED NUMERICAL METHODS SOFTWARE AND APPLICATIONS, 2004, : 409 - 416