ACM Home Page
Please provide us with feedback. Feedback
A study of Java object demographics
Full text PdfPdf (549 KB)
Source
International Symposium on Memory Management archive
Proceedings of the 7th international symposium on Memory management table of contents
Tucson, AZ, USA
SESSION: Heap measurement and analysis I table of contents
Pages 121-130  
Year of Publication: 2008
ISBN:978-1-60558-134-7
Authors
Richard E. Jones  University of Kent, Canterbury, United Kingdom
Chris Ryder  University of Kent, Canterbury, United Kingdom
Sponsors
ACM: Association for Computing Machinery
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 81,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1375634.1375652
What is a DOI?

ABSTRACT

Researchers have long strived to exploit program behaviour in order to improve garbage collection efficiency. For example, by using a simple heuristic, generational GC manages short-lived objects well, although longer-lived objects will still be promoted to an older generation and may be processed repeatedly thereafter. In this paper, we provide a detailed study of Java object lifetimes which reveals a richer landscape than the generational view offers.

Allocation site has been claimed to be a good predictor for object lifetime, but we show that object lifetime can be categorised more precisely than 'short-lived/long-lived/immortal'. We show that (i) sites allocate objects with lifetimes in only a small number of narrow ranges, and (ii) sites cluster strongly with respect to the lifetime distributions of the objects they allocate. Furthermore, (iii) these clusterings are robust against the size of the input given to the program and (iv) are likely to allocate objects that are live only in particular phases of the program's execution. Finally, we show that, in contrast to previous studies, (v) allocation site alone is not always sufficient as a predictor of object lifetime distribution but one further level of stack context suffices.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
 
3
D.A. Barrett and B. Zorn. Garbage collection using a dynamic threatening boundary. Computer Science Technical Report CU-CS-659-93, University of Colorado, July 1993.
4
5
6
 
7
8
9
10
11
 
12
Chakravarti, Laha, and Roy. Handbook of Methods of Applied Statistics, volume I. John Wiley and Sons, 1967.
13
 
14
 
15
 
16
R. Fitzgerald and D. Tarditi. The case for profile-directed selection of garbage collectors. In {22}.
17
 
18
19
 
20
T. Harris. Dynamic adaptive pre-tenuring. In {22}.
21
 
22
T. Hosking, editor. ISMM 2000 Proceedings of the Second International Symposium on Memory Management, Minneapolis, MN, October 2000. ACM Press.
 
23
L. Hubert and P. Arabie. Comparing clusterings. Journal of Classification, 2:193--218, 1985.
24
 
25
 
26
R.E. Jones and C. Ryder. Garbage collection should be lifetime aware. In Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems (ICOOOLPS?2006), Nantes, France, July 2006.
 
27
28
29
 
30
 
31
OOPSLA?99 ACM Conference on Object-Oriented Systems, Languages and Applications, Denver, CO, October 1999. ACM Press.
 
32
33
 
34
W.M. Rand. Objective criteria for the evaluation of clustering methods. Journal of the American Statistical Association, 66:846--850, 1971.


Collaborative Colleagues:
Richard E. Jones: colleagues
Chris Ryder: colleagues