ACM Home Page
Please provide us with feedback. Feedback
Dynamic prediction of collection yield for managed runtimes
Full text PdfPdf (445 KB)
Source
Architectural Support for Programming Languages and Operating Systems archive
Proceeding of the 14th international conference on Architectural support for programming languages and operating systems table of contents
Washington, DC, USA
SESSION: Managed systems table of contents
Pages 289-300  
Year of Publication: 2009
ISBN:978-1-60558-406-5
Also published in ...
Authors
Michal Wegiel  University of California, Santa Barbara, Santa Barbara, CA, USA
Chandra Krintz  University of California, Santa Barbara, Santa Barbara, CA, USA
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
SIGOPS: ACM Special Interest Group on Operating Systems
ACM: Association for Computing Machinery
SIGARCH: ACM Special Interest Group on Computer Architecture
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 15,   Downloads (12 Months): 121,   Citation Count: 0
Additional Information:

abstract   references   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/1508244.1508278
What is a DOI?

ABSTRACT

The growth in complexity of modern systems makes it increasingly difficult to extract high-performance. The software stacks for such systems typically consist of multiple layers and include managed runtime environments (MREs). In this paper, we investigate techniques to improve cooperation between these layers and the hardware to increase the efficacy of automatic memory management in MREs.

General-purpose MREs commonly implement parallel and/or concurrent garbage collection and employ compaction to eliminate heap fragmentation. Moreover, most systems trigger collection based on the amount of heap a program uses. Our analysis shows that in many cases this strategy leads to ineffective collections that are unable to reclaim sufficient space to justify the incurred cost. To avoid such collections, we exploit the observation that dead objects tend to cluster together and form large, never-referenced, regions in the address space that correlate well with virtual pages that have not recently been referenced by the application. We leverage this correlation to design a new, simple and light-weight, yield predictor that estimates the amount of reclaimable space in the heap using hardware page reference bits. Our predictor allows MREs to avoid low-yield collections and thereby improve resource management.

We integrate this predictor into three state-of-the-art parallel compactors, implemented in the HotSpot JVM, that represent distinct canonical heap layouts. Our empirical evaluation, based on standard Java benchmarks and open-source applications, indicates that inexpensive and accurate yield prediction can improve performance significantly.


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
4
5
6
 
7
D. Cohn and S. Singh. Predicting lifetimes in dynamically allocated memory. ANIPS'97.
 
8
The DaCapo Benchmark Suite. http://dacapobench.org.
9
 
10
 
11
Open Source Software in Java. http://java-source.net.
 
12
 
13
M. Hertz, Y. Feng, and E. Berger. Page-level cooperative garbage collection. Univ. Massachusetts, Tech. Report, 2004.
14
15
 
16
HotSpot Virtual Machine Garbage Collection. http://java.sun.com/javase/technologies/hotspot/gc.
 
17
H. Inoue, D. Stefanovic, and S. Forrest. Object lifetime prediction in Java. Univ. New Mexico, Tech. Report, 2003.
 
18
R. Jones. Dynamic memory management: Challenges for today and tomorrow. ILC'07.
 
19
R. Jones and C. Ryder. Garbage collection should be lifetime aware. ICOOOLPS'06.
 
20
21
 
22
Open Source J2SE. http://openjdk.java.net.
23
24
25
 
26
M.L. Seidl and B. Zorn. Low cost methods for predicting heap object behavior. WFDO'99.
 
27
The SPEC Benchmarks. http://www.spec.org.
28
 
29
The VolanoMark Benchmark. http://www.volano.com.
30
 
31
P.R. Wilson. Uniprocessor garbage collection techniques. Univ. Texas, Tech. Report, 1994.
 
32
33
34
 
35
36
37

Collaborative Colleagues:
Michal Wegiel: colleagues
Chandra Krintz: colleagues