ACM Home Page
Please provide us with feedback. Feedback
Automatic heap sizing: taking real memory into account
Full text PdfPdf (880 KB)
Source International Symposium on Memory Management archive
Proceedings of the 4th international symposium on Memory management table of contents
Vancouver, BC, Canada
SESSION: New garbage collection algorithms and strategies table of contents
Pages: 61 - 72  
Year of Publication: 2004
ISBN:1-58113-945-4
Authors
Ting Yang  University of Massachusetts, Amherst, MA
Matthew Hertz  University of Massachusetts, Amherst, MA
Emery D. Berger  University of Massachusetts, Amherst, MA
Scott F. Kaplan  Amherst College, Amherst, MA
J. Eliot B. Moss  University of Massachusetts, Amherst, MA
Sponsors
ACM: Association for Computing Machinery
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 2,   Downloads (12 Months): 39,   Citation Count: 15
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1029873.1029881
What is a DOI?

ABSTRACT

Heap size has a huge impact on the performance of garbage collected applications. A heap that barely meets the application's needs causes excessive GC overhead, while a heap that exceeds physical memory induces paging. Choosing the best heap size <i>a priori</i> is impossible in multiprogrammed environments, where physical memory allocations to processes change constantly. We present an automatic heap-sizing algorithm applicable to different garbage collectors with only modest changes. It relies on an analytical model and on detailed information from the virtual memory manager. The model characterizes the relation between collection algorithm, heap size, and footprint. The virtual memory manager tracks recent reference behavior, reporting the current footprint and allocation to the collector. The collector uses those values as inputs to its model to compute a heap size that maximizes throughput while minimizing paging. We show that our adaptive heap sizing algorithm can substantially reduce running time over fixed-sized heaps.


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
O. Babaoglu and D. Ferrari. Two-level replacement decisions in paging stores. IEEE Transactions on Computers, C-32(12):1151--1159, Dec. 1983.
6
 
7
BEA WebLogic. Technical white paper---JRockit: Java for the enterprise. http://www.bea.com/content/news_events/white_papers/BEA_JRockit_wp.pdf.
 
8
 
9
10
11
 
12
M. Hertz, Y. Feng, and E. D. Berger. Page-level cooperative garbage collection. Technical Report TR-04-16, University of Massachusetts, 2004.
 
13
X. Huang, J. E. B. Moss, K. S. Mckinley, S. Blackburn, and D. Burger. Dynamic SimpleScala: Simulating Java Virtual Machines. Technical Report TR-03-03, University of Texas at Austin, Feb. 2003.
 
14
JavaSoft. J2SE 1.5.0 Documentation---Garbage Collector Ergonomics. Available at http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html.
15
16
17
18
 
19
Novell. Documentation: NetWare 6---Optimizing Garbage Collection. Available at http://www.novell.com/documentation/index.html.
 
20
 
21
P. R. Wilson, S. F. Kaplan, and Y. Smaragdakis. The case for compressed caching in virtual memory systems. In Proceedings of The 1999 USENIX Annual Technical Conference, pages 101--116, Monterey, California, June 1999. USENIX Association.
 
22
T. Yang, E. D. Berger, M. Hertz, S. F. Kaplan, and J. E. B. Moss. Autonomic heap sizing: Taking real memory into account. Technical Report TR-04-14, University of Massachusetts, July 2004.

CITED BY  15
 
 
 
 

Collaborative Colleagues:
Ting Yang: colleagues
Matthew Hertz: colleagues
Emery D. Berger: colleagues
Scott F. Kaplan: colleagues
J. Eliot B. Moss: colleagues